Closed Bug 1557280 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 17203 - Service worker: Altering ready test due to resurrection

Categories

(Testing :: web-platform-tests, defect, P4)

defect

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync upstream])

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

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

Jake Archibald <jaffathecake@gmail.com> wrote:

Service worker: Altering ready test due to resurrection

Found another resurrection test.

If I'm reading the spec correctly:

  • When the ready property is accessed, and there's a matching registration with an active service worker. This takes care of clients that were created after the registration was already 'ready'.
  • When a new service worker becomes active, it goes through all clients that would be controlled by this worker if they loaded now, and resolves their ready promise.

Chrome times outs on the first test, which I didn't expect. Firefox & Safari behave as I'd expect (given they implement resurrection).

Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/488db86c607f
[wpt PR 17203] - Service worker: Altering ready test due to resurrection, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Whiteboard: [wptsync downstream] → [wptsync upstream]
You need to log in before you can comment on or make changes to this bug.