Re: [service-workers-tests] Upstream foreign fetch tests. (#4815)

# Chrome (unstable channel) #
Testing web-platform-tests at revision a2a016714366046d3a9d3c56a061434dbd065298
Using browser at version 58.0.3004.3 dev
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-request-xhr.https.html">/service-workers/service-worker/fetch-request-xhr.https.html</a></summary>


|                       Subtest                        | Results |
|------------------------------------------------------|---------|
|                                                      | OK      |
| `Verify the body of FetchEvent using XMLHttpRequest` | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/resource-timing.https.html">/service-workers/service-worker/resource-timing.https.html</a></summary>


|             Subtest             | Results |
|---------------------------------|---------|
|                                 | OK      |
| `Controlled resource loads`     | FAIL    |
| `Non-controlled resource loads` | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-header-visibility.https.html">/service-workers/service-worker/fetch-header-visibility.https.html</a></summary>


|                        Subtest                        | Results |
|-------------------------------------------------------|---------|
|                                                       | OK      |
| `Visibility of defaulted headers during interception` | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-canvas-tainting.https.html">/service-workers/service-worker/fetch-canvas-tainting.https.html</a></summary>


|                            Subtest                            | Results |
|---------------------------------------------------------------|---------|
|                                                               | OK      |
| `Verify canvas tainting of fetched image in a Service Worker` | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/foreign-fetch-cors.https.html">/service-workers/service-worker/foreign-fetch-cors.https.html</a></summary>


|                                  Subtest                                   | Results |
|----------------------------------------------------------------------------|---------|
|                                                                            | TIMEOUT |
| `Same origin fetch without CORS headers, exposed to wrong origin`          | NOTRUN  |
| `Same origin fetch without CORS headers, headers and origin exposed`       | NOTRUN  |
| `Cross origin fetch with ACEHeaders header, only origin exposed`           | NOTRUN  |
| `Cross origin fetch with ACEHeaders header, not exposed`                   | NOTRUN  |
| `Cross origin fetch without ACEHeaders header, only origin exposed`        | NOTRUN  |
| `Cross origin fetch with ACEHeaders header, headers and origin exposed`    | NOTRUN  |
| `Same origin fetch without CORS headers, only origin exposed`              | NOTRUN  |
| `Cross origin fetch without ACEHeaders header, not exposed`                | NOTRUN  |
| `Same origin fetch without CORS headers, not exposed`                      | TIMEOUT |
| `Same origin fetch with CORS headers, not exposed`                         | NOTRUN  |
| `Same origin fetch with CORS headers, headers and origin exposed`          | NOTRUN  |
| `Cross origin fetch with ACEHeaders header, exposed to wrong origin`       | NOTRUN  |
| `Cross origin fetch without ACEHeaders header, headers and origin exposed` | NOTRUN  |
| `Same origin fetch with CORS headers, exposed to wrong origin`             | NOTRUN  |
| `Cross origin fetch without CORS headers, not exposed`                     | NOTRUN  |
| `Same origin fetch with CORS headers, only origin exposed`                 | NOTRUN  |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/invalid-header.https.html">/service-workers/service-worker/invalid-header.https.html</a></summary>


|                         Subtest                          | Results |
|----------------------------------------------------------|---------|
|                                                          | OK      |
| `Verify the response of FetchEvent using XMLHttpRequest` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/websocket.https.html">/service-workers/service-worker/websocket.https.html</a></summary>


|                            Subtest                            | Results |
|---------------------------------------------------------------|---------|
|                                                               | OK      |
| `Verify WebSocket handshake channel does not get intercepted` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/getregistrations.https.html">/service-workers/service-worker/getregistrations.https.html</a></summary>


|                                 Subtest                                  | Results |
|--------------------------------------------------------------------------|---------|
|                                                                          | OK      |
| `getRegistrations promise resolves only with same origin registrations.` | PASS    |
| `Register then Unregister with controlled frame then getRegistrations`   | PASS    |
| `Register multiple times then getRegistrations`                          | PASS    |
| `Register then getRegistrations`                                         | PASS    |
| `getRegistrations`                                                       | PASS    |
| `Purge the existing registrations.`                                      | PASS    |
| `Register then Unregister then getRegistrations`                         | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-waits-for-activate.https.html">/service-workers/service-worker/fetch-waits-for-activate.https.html</a></summary>


|                            Subtest                             | Results |
|----------------------------------------------------------------|---------|
|                                                                | OK      |
| `Fetch events should wait for the activate event to complete.` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-cors-xhr.https.html">/service-workers/service-worker/fetch-cors-xhr.https.html</a></summary>


|                     Subtest                      | Results |
|--------------------------------------------------|---------|
|                                                  | OK      |
| `Verify CORS XHR of fetch() in a Service Worker` | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/postmessage-to-client.https.html">/service-workers/service-worker/postmessage-to-client.https.html</a></summary>


|                  Subtest                   | Results |
|--------------------------------------------|---------|
|                                            | OK      |
| `postMessage from ServiceWorker to Client` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/xhr.https.html">/service-workers/service-worker/xhr.https.html</a></summary>


|           Subtest           | Results |
|-----------------------------|---------|
|                             | OK      |
| `Verify XHR does not exist` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-event.https.html">/service-workers/service-worker/fetch-event.https.html</a></summary>


|                                   Subtest                                    | Results |
|------------------------------------------------------------------------------|---------|
|                                                                              | OK      |
| `Service Worker responds to fetch event with the referrer URL`               | PASS    |
| `Service Worker responds to fetch event with null response body`             | PASS    |
| `Service Worker responds to fetch event with the referrer policy`            | FAIL    |
| `Service Worker fetches other file in fetch event`                           | PASS    |
| `Multiple calls of respondWith must throw InvalidStateErrors`                | PASS    |
| `Service Worker responds to fetch event with the correct integrity_metadata` | PASS    |
| `Service Worker event.respondWith must set the used flag`                    | PASS    |
| `Service Worker responds to fetch event with POST form`                      | PASS    |
| `Service Worker responds to fetch event with string`                         | PASS    |
| `Service Worker must not expose FetchEvent URL fragments.`                   | FAIL    |
| `Service Worker responds to fetch event with an existing client id`          | PASS    |
| `Service Worker responds to fetch event with blob body`                      | PASS    |
| `Service Worker responds to fetch event with the correct cache types`        | FAIL    |
| `Service Worker should intercept EventSource`                                | FAIL    |
| `Service Worker does not respond to fetch event`                             | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-request-css-images.https.html">/service-workers/service-worker/fetch-request-css-images.https.html</a></summary>


|                         Subtest                          | Results |
|----------------------------------------------------------|---------|
|                                                          | OK      |
| `Verify FetchEvent for css image (backgroundImage).`     | PASS    |
| `Verify FetchEvent for css image-set (backgroundImage).` | PASS    |
| `Verify FetchEvent for css image (shapeOutside).`        | PASS    |
| `Verify FetchEvent for css image-set (shapeOutside).`    | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-request-redirect.https.html">/service-workers/service-worker/fetch-request-redirect.https.html</a></summary>


|                                       Subtest                                       | Results |
|-------------------------------------------------------------------------------------|---------|
|                                                                                     | ERROR   |
| `Verify redirect mode of Fetch API and ServiceWorker FetchEvent.`                   | FAIL    |
| `Verify redirected of Response(Fetch API), Cache API and ServiceWorker FetchEvent.` | FAIL    |
| `Verify redirected of Response(Fetch API) and ServiceWorker FetchEvent.`            | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/navigation-redirect.https.html">/service-workers/service-worker/navigation-redirect.https.html</a></summary>


|                                              Subtest                                               | Results |
|----------------------------------------------------------------------------------------------------|---------|
|                                                                                                    | OK      |
| `Redirect to other-origin in-scope with opaque redirect response which is passed through Cache.`   | PASS    |
| `SW-fetched redirect to other-origin in-scope.`                                                    | PASS    |
| `SW-generated redirect to same-origin other-scope.`                                                | PASS    |
| `Redirect to same-origin other-scope with opaque redirect response.`                               | PASS    |
| `Redirect to other-origin out-scope with opaque redirect response.`                                | PASS    |
| `Normal redirect to same-origin scope.`                                                            | PASS    |
| `SW-generated redirect to other-origin in-scope.`                                                  | PASS    |
| `Redirect to same-origin same-scope with opaque redirect response.`                                | PASS    |
| `Redirect to same-origin out-scope with opaque redirect response.`                                 | PASS    |
| `SW-fallbacked redirect to same-origin other-scope.`                                               | FAIL    |
| `SW-generated redirect to other-origin out-scope.`                                                 | PASS    |
| `SW-fallbacked redirect to other-origin out-scope.`                                                | PASS    |
| `Redirect to same-origin out-scope with opaque redirect response which is passed through Cache.`   | PASS    |
| `SW-generated redirect to same-origin out-scope.`                                                  | PASS    |
| `Redirect to other-origin out-scope with opaque redirect response which is passed through Cache.`  | PASS    |
| `SW-fallbacked redirect to same-origin out-scope.`                                                 | PASS    |
| `Normal redirect to other-origin scope.`                                                           | PASS    |
| `Redirect to same-origin same-scope with opaque redirect response which is passed through Cache.`  | PASS    |
| `SW-fallbacked redirect to same-origin same-scope.`                                                | FAIL    |
| `SW-fallbacked redirect to other-origin in-scope.`                                                 | FAIL    |
| `SW-fetched redirect to same-origin same-scope.`                                                   | PASS    |
| `Redirect to other-origin in-scope with opaque redirect response.`                                 | PASS    |
| `SW-generated redirect to same-origin same-scope.`                                                 | PASS    |
| `SW-fetched redirect to same-origin other-scope.`                                                  | PASS    |
| `SW-fetched redirect to same-origin out-scope.`                                                    | PASS    |
| `Redirect to same-origin other-scope with opaque redirect response which is passed through Cache.` | PASS    |
| `SW-fetched redirect to other-origin out-scope.`                                                   | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/invalid-blobtype.https.html">/service-workers/service-worker/invalid-blobtype.https.html</a></summary>


|                         Subtest                          | Results |
|----------------------------------------------------------|---------|
|                                                          | OK      |
| `Verify the response of FetchEvent using XMLHttpRequest` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/referer.https.html">/service-workers/service-worker/referer.https.html</a></summary>


|       Subtest        | Results |
|----------------------|---------|
|                      | OK      |
| `Verify the referer` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-frame-resource.https.html">/service-workers/service-worker/fetch-frame-resource.https.html</a></summary>


|                            Subtest                            | Results |
|---------------------------------------------------------------|---------|
|                                                               | ERROR   |
| `CORS type response could be loaded in the new window.`       | PASS    |
| `Opaque type response could not be loaded in the new window.` | PASS    |
| `CORS type response could be loaded in the iframe.`           | PASS    |
| `Basic type response could be loaded in the new window.`      | PASS    |
| `Opaque type response could not be loaded in the iframe.`     | TIMEOUT |
| `Basic type response could be loaded in the iframe.`          | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-request-resources.https.html">/service-workers/service-worker/fetch-request-resources.https.html</a></summary>


|              Subtest               | Results |
|------------------------------------|---------|
|                                    | OK      |
| `Verify FetchEvent for resources.` | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/client-navigate.https.html">/service-workers/service-worker/client-navigate.https.html</a></summary>


|                         Subtest                          | Results |
|----------------------------------------------------------|---------|
|                                                          | TIMEOUT |
| `Frame location should update on successful navigation`  | PASS    |
| `Frame location should not update on failed navigation`  | TIMEOUT |
| `Frame location should not be accessible after redirect` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-request-fallback.https.html">/service-workers/service-worker/fetch-request-fallback.https.html</a></summary>


|                   Subtest                    | Results |
|----------------------------------------------|---------|
|                                              | OK      |
| `Verify the fallback behavior of FetchEvent` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/foreign-fetch-basics.https.html">/service-workers/service-worker/foreign-fetch-basics.https.html</a></summary>


|                                  Subtest                                  | Results |
|---------------------------------------------------------------------------|---------|
|                                                                           | TIMEOUT |
| `Foreign fetch can intercept fetch requests from SW controlled pages.`    | NOTRUN  |
| `Service Worker does not intercept fetches from an insecure context.`     | NOTRUN  |
| `Service Worker doesn't intercept fetches with non matching origin.`      | NOTRUN  |
| `Referrer and origin are set correctly in ForeignFetchEvent.`             | NOTRUN  |
| `Service Worker intercepts fetches in scope with wildcard origin.`        | TIMEOUT |
| `Service Worker intercepts fetches in scope with explicit origin.`        | NOTRUN  |
| `Service Worker intercepts fetches in scope with explicit origin list.`   | NOTRUN  |
| `Service Worker does not intercept fetches with CORS preflight`           | NOTRUN  |
| `Service Worker does not intercept same origin fetches.`                  | NOTRUN  |
| `Falling back to network should still respect CORS.`                      | NOTRUN  |
| `Foreign fetch rejects if resolved with a null response.`                 | NOTRUN  |
| `Service Worker does not intercept navigations.`                          | NOTRUN  |
| `Foreign fetch can intercept resource requests from SW controlled pages.` | NOTRUN  |
| `Service Worker that fallback to network should fallback to network.`     | NOTRUN  |
| `Service Worker that fetch from the network should fallback to network.`  | NOTRUN  |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/clients-get.https.html">/service-workers/service-worker/clients-get.https.html</a></summary>


|       Subtest        | Results |
|----------------------|---------|
|                      | OK      |
| `Test Clients.get()` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-csp.https.html">/service-workers/service-worker/fetch-csp.https.html</a></summary>


|                       Subtest                       | Results |
|-----------------------------------------------------|---------|
|                                                     | OK      |
| `Verify CSP control of fetch() in a Service Worker` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-event-redirect.https.html">/service-workers/service-worker/fetch-event-redirect.https.html</a></summary>


| Subtest | Results |
|---------|---------|
|         | ERROR   |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html">/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html</a></summary>


|                        Subtest                        | Results |
|-------------------------------------------------------|---------|
|                                                       | OK      |
| `Verify Mixed content of fetch() in a Service Worker` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-request-css-base-url.https.html">/service-workers/service-worker/fetch-request-css-base-url.https.html</a></summary>


|                                  Subtest                                   | Results |
|----------------------------------------------------------------------------|---------|
|                                                                            | OK      |
| `CSS's base URL must be the request URL even when fetched from other URL.` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/foreign-fetch-event.https.html">/service-workers/service-worker/foreign-fetch-event.https.html</a></summary>


|                          Subtest                           | Results |
|------------------------------------------------------------|---------|
|                                                            | OK      |
| `ForeignFetchEvent constructor with all init dict members` | FAIL    |
| `ForeignFetchEvent constructor with null request`          | FAIL    |
| `ForeignFetchEvent constructor`                            | PASS    |
| `ForeignFetchEvent constructor with empty init dict`       | FAIL    |
| `ForeignFetchEvent constructor with no init dict`          | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-canvas-tainting-cache.https.html">/service-workers/service-worker/fetch-canvas-tainting-cache.https.html</a></summary>


|                            Subtest                            | Results |
|---------------------------------------------------------------|---------|
|                                                               | OK      |
| `Verify canvas tainting of fetched image in a Service Worker` | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/foreign-fetch-workers.https.html">/service-workers/service-worker/foreign-fetch-workers.https.html</a></summary>


|                              Subtest                               | Results |
|--------------------------------------------------------------------|---------|
|                                                                    | TIMEOUT |
| `Foreign fetch can intercept fetches made from a shared worker`    | NOTRUN  |
| `Foreign fetch can intercept fetches made from a service worker`   | TIMEOUT |
| `Foreign fetch can intercept fetches made from a dedicated worker` | NOTRUN  |
| `Fetches from an insecure dedicated worker aren't intercepted.`    | NOTRUN  |
| `Fetches from an insecure shared worker aren't intercepted.`       | NOTRUN  |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-response-xhr.https.html">/service-workers/service-worker/fetch-response-xhr.https.html</a></summary>


|                         Subtest                          | Results |
|----------------------------------------------------------|---------|
|                                                          | OK      |
| `Verify the response of FetchEvent using XMLHttpRequest` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html">/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html</a></summary>


|                        Subtest                        | Results |
|-------------------------------------------------------|---------|
|                                                       | OK      |
| `Verify Mixed content of fetch() in a Service Worker` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/navigate-window.https.html">/service-workers/service-worker/navigate-window.https.html</a></summary>


|                                       Subtest                                        | Results |
|--------------------------------------------------------------------------------------|---------|
|                                                                                      | OK      |
| `Clients.matchAll() should not show an old window after it navigates.`               | FAIL    |
| `Clients.matchAll() should not show an old window as controlled after it navigates.` | FAIL    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/clients-get-cross-origin.https.html">/service-workers/service-worker/clients-get-cross-origin.https.html</a></summary>


|              Subtest              | Results |
|-----------------------------------|---------|
|                                   | OK      |
| `Test Clients.get() cross origin` | PASS    |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/4815/service-workers/service-worker/register-closed-window.https.html">/service-workers/service-worker/register-closed-window.https.html</a></summary>


|                               Subtest                               | Results |
|---------------------------------------------------------------------|---------|
|                                                                     | OK      |
| `Call register() on ServiceWorkerContainer owned by closed window.` | PASS    |

</details>

View on GitHub: https://github.com/w3c/web-platform-tests/pull/4815#issuecomment-279559705

Received on Monday, 13 February 2017 23:39:12 UTC