Closed
Bug 667501
Opened 14 years ago
Closed 9 years ago
Implement .postMessage for multiple content processes
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1204775
People
(Reporter: benjamin, Unassigned)
References
Details
.postMessage will need a broadcast mechanic to work across multiple content processes
![]() |
||
Comment 2•14 years ago
|
||
postMessage targets a particular window, no? And it's a window you have a reference to. So it's generally in the same process as you already (modulo the bit about setting openers to null), or am I misunderstanding the setup?
Comment 3•14 years ago
|
||
This is about window.postMessage and not sharedWorker.postMessage?
Since the latter one could need cross-process messaging, I think.
Comment 4•14 years ago
|
||
Yeah, I think the only postMessage() method that needs e10s love is the one on shared workers, which we don't implement yet.
Updated•9 years ago
|
Blocks: e10s-multi
Updated•9 years ago
|
Flags: needinfo?(gkrizsanits)
Comment 5•9 years ago
|
||
(In reply to Johnny Stenback (:jst, jst@mozilla.com) from comment #4)
> Yeah, I think the only postMessage() method that needs e10s love is the one
> on shared workers, which we don't implement yet.
I think for shared workers first we need to figure out how to share them between multiple content processes. Any other approach would probably be a spec violation and a hack. I think making sure that worker.port.postMessage does what it supposed to do should be part of that work. Ben, is someone working on that / is there a bug filed for that?
Flags: needinfo?(gkrizsanits) → needinfo?(bkelly)
Comment 6•9 years ago
|
||
Not directly, but a lot of the infrastructure we need for service worker will make doing this for SharedWorker easier. Marking the appropriate bugs as dependencies.
Comment 7•9 years ago
|
||
worker.port.postMessage for SharedWorker is already multi-e10s compatible.
Internally SharedWorker ports are MessagePort.
Comment 8•9 years ago
|
||
If this bug is just about SharedWorker.port.postMessage, it's already fixed by bug 1204775.
Flags: needinfo?(gkrizsanits)
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
Flags: needinfo?(gkrizsanits)
Assignee | ||
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
•