Closed
Bug 1502802
Opened 7 years ago
Closed 7 years ago
Implement PostMessageOptions for MessagePort
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
Details
Attachments
(4 files)
|
3.47 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
|
7.91 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
|
5.86 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
|
6.69 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•7 years ago
|
||
I add to invert the "optional" in the postMessage parameters because webIDL requires dictionary to be optional. Is this a limitation in our implementation or is it a bug in the spec?
Attachment #9020701 -
Flags: review?(bugs)
| Assignee | ||
Comment 2•7 years ago
|
||
I filed a spec issue: https://github.com/whatwg/html/issues/4137
Comment 3•7 years ago
|
||
Comment on attachment 9020701 [details] [diff] [review]
part 1 - messagePort.postMessage
this captures only one postMessage. The dictionary was added for example to window.postMessage.
Attachment #9020701 -
Flags: review?(bugs) → review-
| Assignee | ||
Comment 4•7 years ago
|
||
you are too fast in the review process! I was going to upload 4 more patches :)
| Assignee | ||
Comment 5•7 years ago
|
||
Attachment #9020714 -
Flags: review?(bugs)
| Assignee | ||
Comment 6•7 years ago
|
||
Attachment #9020715 -
Flags: review?(bugs)
| Assignee | ||
Comment 7•7 years ago
|
||
Attachment #9020716 -
Flags: review?(bugs)
| Assignee | ||
Updated•7 years ago
|
Attachment #9020701 -
Attachment description: post_transfer.patch → part 1 - messagePort.postMessage
Attachment #9020701 -
Flags: review- → review?(bugs)
Updated•7 years ago
|
Attachment #9020701 -
Flags: review?(bugs) → review+
Comment 8•7 years ago
|
||
Comment on attachment 9020714 [details] [diff] [review]
part 2 - window.postMessage
Oh, PostMessageMoz implementation is silly. Requiring transfers as JSValue. Not exactly fast.
But ok, not about this bug.
Attachment #9020714 -
Flags: review?(bugs) → review+
Updated•7 years ago
|
Attachment #9020715 -
Flags: review?(bugs) → review+
Updated•7 years ago
|
Attachment #9020716 -
Flags: review?(bugs) → review+
Updated•7 years ago
|
Priority: -- → P2
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13762 for changes under testing/web-platform/tests
Can't merge web-platform-tests PR due to failing upstream checks:
Github PR https://github.com/web-platform-tests/wpt/pull/13762
* continuous-integration/appveyor/pr
* Taskcluster (pull_request) (https://tools.taskcluster.net/task-group-inspector/#/FQ4am-crSnuF85_wggYWlQ)
Comment 11•7 years ago
|
||
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2b6babc63893
Implement PostMessageOptions for MessagePort, r=smaug
https://hg.mozilla.org/integration/mozilla-inbound/rev/5096ab6d4f2a
Implement PostMessageOptions for Window, r=smaug
https://hg.mozilla.org/integration/mozilla-inbound/rev/815f3200c6ce
Implement PostMessageOptions for Worker, r=smaug
https://hg.mozilla.org/integration/mozilla-inbound/rev/bc4333f4fabb
Implement PostMessageOptions for Client and ServiceWorker, r=smaug
Comment 12•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2b6babc63893
https://hg.mozilla.org/mozilla-central/rev/5096ab6d4f2a
https://hg.mozilla.org/mozilla-central/rev/815f3200c6ce
https://hg.mozilla.org/mozilla-central/rev/bc4333f4fabb
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Upstream PR merged
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•