Fix usage of GetFrameElementInternal in nsDocShell::PerformRetargeting and DoLoadURI
Categories
(Core :: DOM: Navigation, defect, P3)
Tracking
()
Fission Milestone | M6c |
People
(Reporter: kmag, Assigned: smacleod)
References
Details
It's used to provide the frame element as the requesting context in the LoadInfo, but it does different things depending on whether the frame has an in-process or cross-process parent, which is not desirable.
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
The caller in PerformRetargeting
appears to not call this method unless we're in the parent process, in which case it should work fine: https://searchfox.org/mozilla-central/rev/82c04b9cad5b98bdf682bd477f2b1e3071b004ad/docshell/base/nsDocShell.cpp#7988-8000
The popup-blocker stuff in DoURILoad
probably needs to be fixed, though.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
The use of GetFrameElementInternal at https://searchfox.org/mozilla-central/source/docshell/base/nsDocShell.cpp#9577-9592 is being fixed in bug 1647454
Updated•4 years ago
|
Comment 3•4 years ago
|
||
None of the remaining cases are fission-incompatible, resolving.
Description
•