Closed
Bug 1552751
Opened 5 years ago
Closed 5 years ago
MessagePort should not work, silently failing, when created from removed windows.
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla69
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(2 files, 2 obsolete files)
A script like this doesn't create active MessagePorts, but it should:
let ifr = document.createElement('iframe');
...
let w = ifr.contentWindow;
ifr.remove();
let mc = new w.MessageChannel();
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Attachment #9065966 -
Attachment is obsolete: true
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D32264
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D32265
Updated•5 years ago
|
Attachment #9066942 -
Attachment is obsolete: true
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3b4d36cfde13 MessagePort should not work when created from a disconnected window - tests, r=smaug https://hg.mozilla.org/integration/autoland/rev/4ff05bda88b2 MessagePort should not work when created from a disconnected window, r=smaug
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3b4d36cfde13
https://hg.mozilla.org/mozilla-central/rev/4ff05bda88b2
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox69:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Comment 7•5 years ago
|
||
the title of this bug should be changed, I think
Assignee | ||
Updated•5 years ago
|
Summary: MessagePort should work even when created from removed windows. → MessagePort should not work, silently failing, when created from removed windows.
You need to log in
before you can comment on or make changes to this bug.
Description
•