Fix GetInProcessParentDocshell usage in nsDocShell::InFrameSwap
Categories
(Core :: DOM: Navigation, defect, P3)
Tracking
()
Fission Milestone | M8 |
People
(Reporter: kmag, Unassigned)
References
(Blocks 1 open bug)
Details
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Emilio, is this code broken for Fission OOP iframes? Do we need to fix this before we enable Fission?
InFrameSwap() was added in requestAnimationFrame bug 1578379. It's only called in MOZ_DIAGNOSTIC_ASSERTs in OnPageShow() and OnPageHide().
Comment 2•4 years ago
|
||
I think we don't need to do fancies to swap remote browsers. That code would already be broken in e10s. Frame-swapping works fine in fission so I think this is WFM.
We probably need to make sure that we don't fire any pageshow / pagehide events on cross-origin iframes and so on before closing this though.
Comment 3•4 years ago
|
||
Moving to MVP based on comment 2 as it's not nightly or beta blocking.
Comment 4•3 years ago
|
||
Let's confirm and do any needful fixes before going to release (M8).
Comment 5•3 years ago
|
||
I'm pretty sure this call site is OK as it is no different now with Fission, and shouldn't have any impact here. The pageshow
and pagehide
events fired here are fired with aOnlySystemGroup = true
, meaning that they can't be observed by web content, so we definitely shouldn't run into any issues here.
Description
•