Closed Bug 1766340 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33780 - Prerender: Defer ServiceWorkerRegistration#unregister from prerendered pages

Categories

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

task

Tracking

(firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Hiroki Nakagawa <nhiroki@chromium.org> wrote:

Prerender: Defer ServiceWorkerRegistration#unregister from prerendered pages

The spec requires ServiceWorkerRegistration#unregister to be deferred
until ipage activation. This CL implements the behavior.
https://wicg.github.io/nav-speculation/prerendering.html#patch-service-workers

Bug: 1305120
Change-Id: Ibf5d888f0636d2ad11c08f16b9b9739824536cb0
Reviewed-on: https://chromium-review.googlesource.com/3606768
WPT-Export-Revision: 0f77fa3fff96ca205c94f4d6ab241d91851c3be5

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 1 tests

Status Summary

Firefox

ERROR: 1

Chrome

ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/54460c2c253f
[wpt PR 33780] - Prerender: Defer ServiceWorkerRegistration#unregister from prerendered pages, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d7be05024a35
[wpt PR 33780] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.