Open Bug 1448237 Opened 6 years ago Updated 2 years ago

[wpt-sync] Sync PR 10153 - Client.postMessage to unloaded Client

Categories

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

enhancement

Tracking

()

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jungkee Song <jungkee.song@samsung.com> wrote:
>  Client.postMessage to unloaded Client
>  
>  Client.postMessage to an unloaded Client object must throw an
>  "InvalidStateError" DOMException. (See https://w3c.github.io/ServiceWorker/#dom-client-postmessage.)
>  This adds a test for that requirement.
>  
>  Related spec issue: https://github.com/w3c/ServiceWorker/issues/1042.
>  Related spec PR: https://github.com/w3c/ServiceWorker/pull/1274.
Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core
I filed a spec issue in response to this WPT PR:

https://github.com/w3c/ServiceWorker/issues/1291
P4 is unused to setting priority to P3.
Priority: P4 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.