Re: [service-workers-tests] fetch-event.https.html: Fix asserts mistakenly outside the promise chain (#5605)

 [View the complete job log.](https://travis-ci.org/w3c/web-platform-tests/jobs/223432226)

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


|                                   Subtest                                    | Results |                                                                                        Messages                                                                                        |
|------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                              | OK      |                                                                                                                                                                                        |
| `Service Worker responds to fetch event with string`                         | PASS    |                                                                                                                                                                                        |
| `Service Worker responds to fetch event with blob body`                      | PASS    |                                                                                                                                                                                        |
| `Service Worker responds to fetch event with the referrer URL`               | PASS    |                                                                                                                                                                                        |
| `Service Worker responds to fetch event with the referrer policy`            | FAIL    | `assert_unreached: unexpected rejection: Failed to fetch Reached unreachable code`                                                                                                     |
| `Service Worker responds to fetch event with an existing client id`          | PASS    |                                                                                                                                                                                        |
| `Service Worker does not respond to fetch event`                             | PASS    |                                                                                                                                                                                        |
| `Service Worker responds to fetch event with null response body`             | PASS    |                                                                                                                                                                                        |
| `Service Worker fetches other file in fetch event`                           | PASS    |                                                                                                                                                                                        |
| `Service Worker responds to fetch event with POST form`                      | PASS    |                                                                                                                                                                                        |
| `Multiple calls of respondWith must throw InvalidStateErrors`                | PASS    |                                                                                                                                                                                        |
| `Service Worker event.respondWith must set the used flag`                    | PASS    |                                                                                                                                                                                        |
| `Service Worker should expose FetchEvent URL fragments.`                     | PASS    |                                                                                                                                                                                        |
| `Service Worker responds to fetch event with the correct cache types`        | FAIL    | `assert_unreached: unexpected rejection: assert_equals: expected "default" but got "" Reached unreachable code`                                                                        |
| `Service Worker should intercept EventSource`                                | FAIL    | `assert_unreached: unexpected rejection: assert_equals: EventSource should bypass the http cache. expected (string) "no-store" but got (undefined) undefined Reached unreachable code` |
| `Service Worker responds to fetch event with the correct integrity_metadata` | FAIL    | `assert_unreached: unexpected rejection: assert_equals: integrity expected "gs0nqru8KbsrIt5YToQqS9fYao4GQJXtcId610g7cCU=" but got "" Reached unreachable code`                         |

</details>
</details>

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

Received on Wednesday, 19 April 2017 06:26:26 UTC