Closed Bug 1482237 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12385 - Add a PostMessageOptions API to workers and message_port

Categories

(Core :: DOM: Workers, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

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

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

Dave Tapuska <dtapuska@chromium.org> wrote:
>  Add a PostMessageOptions API to workers and message_port
>  
>  The current pull request against the HTML spec is here:
>  https://github.com/whatwg/html/issues/3799
>  
>  Rename the RuntimeEnabledFeature from WindowPostMessageOptions to
>  PostMessageOptions
>  
>  BUG=861735
>  
>  Change-Id: Ia7980a85c10535f6d531c87f3790efcf6ed2d54d
>  Reviewed-on: https://chromium-review.googlesource.com/1169304
>  WPT-Export-Revision: 96fb14edfdc0530dba7dac11dc335c7634080cfb
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Ran 4 tests and 7 subtests
OK     : 4
PASS   : 3
FAIL   : 4

Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null.html
    Using null in postMessage's second argument: FAIL

New tests that have failures or other problems:
/service-workers/service-worker/postmessage.https.html
    postMessage with dictionary a transferable ArrayBuffer between ServiceWorker and Client: FAIL
/webmessaging/message-channels/dictionary-transferrable.html
    basic messagechannel with transfer: FAIL
/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-dictionary.html
    Using dictionary as postMessage's second argument: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8a49d6c83ccb
[wpt PR 12385] - Add a PostMessageOptions API to workers and message_port, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/e33f08d4713b
[wpt PR 12385] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/8a49d6c83ccb
https://hg.mozilla.org/mozilla-central/rev/e33f08d4713b
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.