| Index: LayoutTests/http/tests/fetch/script-tests/block-mixed-content-nocors.js
|
| diff --git a/LayoutTests/http/tests/fetch/script-tests/block-mixed-content-nocors.js b/LayoutTests/http/tests/fetch/script-tests/block-mixed-content-nocors.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1ff8821e33601a55cf2162238eb418e49a1176f2
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/fetch/script-tests/block-mixed-content-nocors.js
|
| @@ -0,0 +1,22 @@
|
| +// OPTIONS: -base-https
|
| +if (self.importScripts) {
|
| + importScripts('../resources/fetch-test-helpers.js');
|
| +}
|
| +
|
| +var BASE_URL =
|
| + 'http://127.0.0.1:8000/serviceworker/resources/fetch-access-control.php?ACAOrigin=*&label=';
|
| +var HTTPS_BASE_URL =
|
| + 'https://127.0.0.1:8443/serviceworker/resources/fetch-access-control.php?ACAOrigin=*&label=';
|
| +var HTTPS_OTHER_BASE_URL =
|
| + 'https://localhost:8443/serviceworker/resources/fetch-access-control.php?ACAOrigin=*&label=';
|
| +
|
| +var REDIRECT_URL =
|
| + 'http://127.0.0.1:8000/serviceworker/resources/redirect.php?ACAOrigin=*&Redirect=';
|
| +var HTTPS_REDIRECT_URL =
|
| + 'https://127.0.0.1:8443/serviceworker/resources/redirect.php?ACAOrigin=*&Redirect=';
|
| +var HTTPS_OTHER_REDIRECT_URL =
|
| + 'https://localhost:8443/serviceworker/resources/redirect.php?ACAOrigin=*&Redirect=';
|
| +
|
| +testBlockMixedContent('no-cors');
|
| +
|
| +done();
|
|
|