Double-check whether a chrome document can be out-of-process
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
People
(Reporter: botond, Unassigned)
References
Details
In bug 1699846, we identified this call site of nsPresContext::GetParentPresContext()
as needing further investigation related to Fission.
The code in question is:
nsPresContext* pc = /* ... */;
bool isChromeRootDoc =
!pc->Document()->IsContentDocument() && !pc->GetParentPresContext();
where the intended interpretation of isChromeRootDoc
is "this document is a chrome document and has no parent (or its parent is not a chrome document)".
Does this code remain correct in the presence of Fission?
I believe this boils down to, can chrome documents be out-of-process with Fission?
Reporter | ||
Comment 1•2 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #0)
I believe this boils down to, can chrome documents be out-of-process with Fission?
Kashav, do you know the answer to this question, or could you route the question to someone who would? Thanks!
I'm fairly sure that chrome documents will never be out-of-process, but they can embed out-of-process frames. Forwarding to kmag who can confirm.
Comment 3•2 years ago
|
||
Chrome BrowsingContexts can only exist in the parent process, so no.
Reporter | ||
Comment 4•2 years ago
|
||
Thanks for the info! There's nothing to do here then.
Description
•