Support named targeting for remote windows in window.open()
Categories
(Core :: Window Management, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
References
(Blocks 3 open bugs)
Details
Attachments
(5 files)
Currently, targeting an existing named window in window.open() only works for in-process windows, using docshell targetting. We need to change this to use BrowserContext targeting instead, which requires also changing a lot of intermediate code to operate on BrowsingContexts rather than DocShellTreeItems.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
This lets us lookup cross-process targets, but does not yet allow returning or
loading anything into them.
Assignee | ||
Comment 4•5 years ago
|
||
This allows us to actually correctly load URIs into and return BCs for
cross-process named targets. It still leaves a lot of code which needs to
operate directly on DocShells, but it only applies to new windows, which
always start out same-process.
The one exception is the logic to change the opener of an existing
cross-process window targeted by an open() operation, which can't currently be
accomplished outside of the BC's owner process. This will need a follow-up.
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d513683e1fdb
https://hg.mozilla.org/mozilla-central/rev/f1fc2382346d
https://hg.mozilla.org/mozilla-central/rev/a8ac7bcafc27
https://hg.mozilla.org/mozilla-central/rev/a50f085eb3e6
https://hg.mozilla.org/mozilla-central/rev/ba987e21b532
https://hg.mozilla.org/mozilla-central/rev/3bffe760e2db
https://hg.mozilla.org/mozilla-central/rev/40b61344f0da
https://hg.mozilla.org/mozilla-central/rev/ce60426d7e31
https://hg.mozilla.org/mozilla-central/rev/b47a29dc541a
https://hg.mozilla.org/mozilla-central/rev/8303383dd95b
https://hg.mozilla.org/mozilla-central/rev/de2caa18324b
https://hg.mozilla.org/mozilla-central/rev/0fae715f6c26
Description
•