| 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 6af205f83e1ef7b366759fabf8620bf406ee1278..99ccacdc784684b24267e6bcf12d6bdfed27d0fd 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
|
| @@ -239,5 +239,12 @@ promise_test(t => {
|
| .then(response_text => assert_true(response_text.startsWith('report(')));
|
| }, 'Service Worker does not intercept fetches with CORS preflight');
|
|
|
| +promise_test(t => {
|
| + var scope = 'simple.txt?null';
|
| + var remote_url =
|
| + host_info.HTTPS_REMOTE_ORIGIN + '/serviceworker/resources/' + scope;
|
| + return install_cross_origin_worker(t, worker_for_scopes(['']), scope)
|
| + .then(() => promise_rejects(t, new TypeError(), fetch(remote_url)));
|
| +}, 'Foreign fetch rejects if resolved with a null response.');
|
| </script>
|
| </body>
|
|
|