Skip to content

Commit

Permalink
Bug 1451994 [wpt PR 10340] - service worker: Add tests for inteceptio…
Browse files Browse the repository at this point in the history
…n of workers after redirects., a=testonly

Automatic update from web-platform-testsservice worker: Add tests for inteception of workers after redirects.

This tests behavior discussed here:
w3c/ServiceWorker#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.
(Actually a small change is required to the test to make Firefox
pass it, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1452528)

Currently it only tests shared worker but dedicated worker can
be added in a follow-up patch.

Bug: 829720
Change-Id: Id3b1ea8b952760be0ef9917f2c6a3afe60ca1fb5
Reviewed-on: https://chromium-review.googlesource.com/999241
Commit-Queue: Matt Falkenhagen <falkenchromium.org>
Reviewed-by: Hiroki Nakagawa <nhirokichromium.org>
Cr-Commit-Position: refs/heads/master{#549125}

wpt-commits: 6fe36d79072d5261ea504435b0dfedaf39f5805a
wpt-pr: 10340
wpt-commits: 6fe36d79072d5261ea504435b0dfedaf39f5805a
wpt-pr: 10340

UltraBlame original commit: 4d895b739d93c3f042cb91a6ab5c071939a13252
  • Loading branch information
marco-c committed Oct 2, 2019
1 parent 73a06ee commit ca5b054
Show file tree
Hide file tree
Showing 7 changed files with 2,819 additions and 0 deletions.
336 changes: 336 additions & 0 deletions testing/web-platform/meta/MANIFEST.json

0 comments on commit ca5b054

Please sign in to comment.