[wpt-sync] Sync PR 50018 - Add test for ServiceWorkerContainer.register() from a Worker context.
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50018 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50018
Details from upstream follow.
Frédéric Wang <fwang@igalia.com> wrote:
Add test for ServiceWorkerContainer.register() from a Worker context.
See https://w3c.github.io/ServiceWorker/#serviceworkercontainer-interface
Calling ServiceWorkerContainer.register() from a Window context is already covered by worker-constructor.html.
This commit covers the case when it's called from a Worker context, more specifically particular dedicated, shared and service workers.
This passes in Firefox with the patch from
https://bugzilla.mozilla.org/show_bug.cgi?id=1940044 and https://bugzilla.mozilla.org/show_bug.cgi?id=1901492.
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central
Total 0 tests
Comment 4•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5e3a56554bbf
https://hg.mozilla.org/mozilla-central/rev/eedf8f8580d0
Description
•