Closed Bug 1579820 Opened 1 year ago Closed 1 year ago

[Fission] window.open() doesn't work from remote subframes

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Fission Milestone M4
Tracking Status
firefox71 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.

The CommonCreateWindow code requires having a BrowserHost for the tab that's
creating the window, which it tries to get from the requestor's BrowserParent.
For remote BrowserParents, though, there is no BrowserHost, so we need to get
it from the top-level embedder instead.

This works seamlessly most of the time, but in a few corner cases that I
haven't figured out yet, such as when submitting a form with a javascript: URI
and target="_blank", the embedder window global does not return a
BrowserParent. This probably deserves a separate bug.

Priority: -- → P2
Pushed by maglione.k@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/dd9684586ba3
Handle window.open() from remote subframes. r=nika
Status: NEW → ASSIGNED
Fission Milestone: --- → M4
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.