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/223432225)

# Firefox (nightly channel) #
Testing web-platform-tests at revision 1e043b5e65a72fbeabe8ba9692fae2992c14acfa
Using browser at version BuildID 20170417100236; SourceStamp c697e756f738ce37abc56f31bfbc48f55625d617
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: NetworkError when attempting to fetch resource. 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`        | PASS    |                                                                                                                    |
| `Service Worker should intercept EventSource`                                | PASS    |                                                                                                                    |
| `Service Worker responds to fetch event with the correct integrity_metadata` | PASS    |                                                                                                                    |

</details>
</details>

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

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