diff --git a/src/Form/QuicklinkConfigForm.php b/src/Form/QuicklinkConfigForm.php index 7b282f9ec66cda154ca6b40d5fc6576a9a6090ef..b043e2614dd4d32025b326c74918fcb649acdc06 100644 --- a/src/Form/QuicklinkConfigForm.php +++ b/src/Form/QuicklinkConfigForm.php @@ -282,7 +282,7 @@ class QuicklinkConfigForm extends ConfigFormBase { $form['polyfill']['load_polyfill'] = [ '#type' => 'checkbox', '#title' => $this->t('Load <em>Intersection Observer</em> polyfill'), - '#description' => $this->t('This checkbox will enable loading of necessary polyfills from <a href="https://polyfill.io" target="_blank">polyfill.io</a>. This will enable usage of Quicklink in IE11 and older versions modern browsers.'), + '#description' => $this->t('This checkbox will enable loading of necessary polyfills from <a href="https://polyfill-fastly.io" target="_blank">polyfill-fastly.io</a>. This will enable usage of Quicklink in IE11 and older versions modern browsers.'), '#default_value' => $config->get('load_polyfill'), ]; diff --git a/tests/src/Nightwatch/Tests/integrationTest.js b/tests/src/Nightwatch/Tests/integrationTest.js index 4bed1182007bfd8d645d5c2b12f62cade47644ce..81d4ccad2671fc26402b1ceb7cc0a61efbd17582 100644 --- a/tests/src/Nightwatch/Tests/integrationTest.js +++ b/tests/src/Nightwatch/Tests/integrationTest.js @@ -121,7 +121,7 @@ module.exports = { ) // Verify polyfill is not loaded. - .assert.not.elementPresent('script[src*="polyfill.io"][src*="IntersectionObserver"]'); + .assert.not.elementPresent('script[src*="polyfill-fastly.io"][src*="IntersectionObserver"]'); }, 'Change and then verify updated settings': (browser) => { browser @@ -240,7 +240,7 @@ module.exports = { .waitForElementVisible('body') // Verify polyfill is loaded. - .assert.elementPresent('script[src*="polyfill.io"][src*="IntersectionObserver"]') + .assert.elementPresent('script[src*="polyfill-fastly.io"][src*="IntersectionObserver"]') // Verify that links within admin containers are now prefetched. .assert.not.elementIgnored('<div id="block-local-tasks-block"><a href="/test">test</a></div>')