Closed Bug 1451994 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10340 - service worker: Add tests for inteception of workers after redirects.

Categories

(Core :: DOM: Service Workers, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10340 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10340
Details from upstream follow.

Matt Falkenhagen <falken@chromium.org> wrote:
>  service worker: Add tests for inteception of workers after redirects.
>  
>  This tests behavior discussed here:
>  https://github.com/w3c/ServiceWorker/issues/1289
>  
>  Namely it tests when a request for a worker goes through a redirect
>  chain:
>  1) On redirect from A -> B, whether the service worker at B
>  sees the request.
>  2) After the final redirect, which service worker controls the
>  resulting client.
>  
>  The tests are written as specified today. Therefore, Firefox
>  passes this test (verified in Nightly) and Chrome does not.
>  
>  Currently it only tests shared worker but dedicated worker can
>  be added in a follow-up patch.
>  
>  Bug: 731604, 724371
>  Change-Id: Id3b1ea8b952760be0ef9917f2c6a3afe60ca1fb5
>  
>  Reviewed-on: https://chromium-review.googlesource.com/999241
>  WPT-Export-Revision: c29c1839729aeda2c86b7f5c8d36ec9e54c75725
Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core
Priority: P4 → P5
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4d895b739d93
[wpt PR 10340] - service worker: Add tests for inteception of workers after redirects., a=testonly
https://hg.mozilla.org/mozilla-central/rev/4d895b739d93
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.