OLD | NEW |
1 // OPTIONS: -base-https | 1 // OPTIONS: -base-https |
2 if (self.importScripts) { | 2 if (self.importScripts) { |
3 importScripts('../resources/fetch-test-helpers.js'); | 3 importScripts('../resources/fetch-test-helpers.js'); |
4 } | 4 } |
5 | 5 |
6 var BASE_URL = | 6 var BASE_URL = |
7 'http://127.0.0.1:8000/serviceworker/resources/fetch-access-control.php?ACAOri
gin=*&label='; | 7 'http://example.test:8000/serviceworker/resources/fetch-access-control.php?ACA
Origin=*&label='; |
8 var HTTPS_BASE_URL = | 8 var HTTPS_BASE_URL = |
9 'https://127.0.0.1:8443/serviceworker/resources/fetch-access-control.php?ACAOr
igin=*&label='; | 9 'https://example.test:8443/serviceworker/resources/fetch-access-control.php?AC
AOrigin=*&label='; |
10 var HTTPS_OTHER_BASE_URL = | 10 var HTTPS_OTHER_BASE_URL = |
11 'https://localhost:8443/serviceworker/resources/fetch-access-control.php?ACAOr
igin=*&label='; | 11 'https://localhost:8443/serviceworker/resources/fetch-access-control.php?ACAOr
igin=*&label='; |
12 | 12 |
13 var REDIRECT_URL = | 13 var REDIRECT_URL = |
14 'http://127.0.0.1:8000/serviceworker/resources/redirect.php?ACAOrigin=*&Redire
ct='; | 14 'http://example.test:8000/serviceworker/resources/redirect.php?ACAOrigin=*&Red
irect='; |
15 var HTTPS_REDIRECT_URL = | 15 var HTTPS_REDIRECT_URL = |
16 'https://127.0.0.1:8443/serviceworker/resources/redirect.php?ACAOrigin=*&Redir
ect='; | 16 'https://example.test:8443/serviceworker/resources/redirect.php?ACAOrigin=*&Re
direct='; |
17 var HTTPS_OTHER_REDIRECT_URL = | 17 var HTTPS_OTHER_REDIRECT_URL = |
18 'https://localhost:8443/serviceworker/resources/redirect.php?ACAOrigin=*&Redir
ect='; | 18 'https://localhost:8443/serviceworker/resources/redirect.php?ACAOrigin=*&Redir
ect='; |
19 | 19 |
20 testBlockMixedContent('no-cors'); | 20 testBlockMixedContent('no-cors'); |
21 | 21 |
22 done(); | 22 done(); |
OLD | NEW |