Open
Bug 1524084
Opened 7 years ago
Updated 10 months ago
A message manager created lazily upon a crashed browser never fires message-manager-disconnect
Categories
(Core :: DOM: Content Processes, defect, P3)
Core
DOM: Content Processes
Tracking
()
NEW
People
(Reporter: mconley, Unassigned)
Details
(Whiteboard: dom-lws-bugdash-triage)
Attachments
(1 file, 1 obsolete file)
STR:
- Have a remote <xul:browser>
- Crash the browser
- Access the messageManager on the crashed browser so that a new message manager is created lazily upon it
- Remove the <xul:browser> from the DOM
ER:
Both message-manager-close and message-manager-disconnect should be fired for the node.
AR:
Only message-manager-close fires. Apparently, the nsFrameLoaderDestroyRunnable never ends up calling mFrameLoader->DestroyComplete() (which causes the disconnect) since a crashed browser has mChildMessageManager set to nullptr here:
| Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
| Reporter | ||
Comment 3•1 year ago
|
||
I've updated the test case, and it appears that the bug still exists. We still use message managers these days, albeit rarely - it's more common to use JSActors instead.
So yes, I'd say this is still relevant.
Flags: needinfo?(mconley)
| Reporter | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Whiteboard: dom-lws-bugdash-triage
Updated•10 months ago
|
Attachment #9405279 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•