| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/foreign-fetch-basics.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/foreign-fetch-basics.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/foreign-fetch-basics.html
|
| index 1f6c41bee3ed2f48784776836aee4af6ac62f2fc..6af205f83e1ef7b366759fabf8620bf406ee1278 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/foreign-fetch-basics.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/foreign-fetch-basics.html
|
| @@ -113,6 +113,16 @@ promise_test(t => {
|
| }, 'Service Worker that fallback to network should fallback to network.');
|
|
|
| promise_test(t => {
|
| + var scope = 'fetch-access-control.php?fetch&ACAOrigin=*';
|
| + var remote_url =
|
| + host_info.HTTPS_REMOTE_ORIGIN + '/serviceworker/resources/' + scope;
|
| + return install_cross_origin_worker(t, worker_for_scopes(['']), scope)
|
| + .then(() => fetch(remote_url))
|
| + .then(response => response.text())
|
| + .then(response_text => assert_true(response_text.startsWith('report(')));
|
| + }, 'Service Worker that fetch from the network should fallback to network.');
|
| +
|
| +promise_test(t => {
|
| var scope = 'simple.txt?fallback';
|
| var remote_url =
|
| host_info.HTTPS_REMOTE_ORIGIN + '/serviceworker/resources/' + scope;
|
|
|