Figure out if GetInProcessParentDocument usage in ScriptLoader::ReadyToExecuteParserBlockingScripts is OK
Categories
(Core :: DOM: Core & HTML, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: kmag, Assigned: smacleod)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
It walks the entire ancestor chain and returns false if any of them are not ready to execute parser blocking scripts, but stops any time it encounters an OOP ancestor. It should probably at least walk all in-process ancestor documents regardless of OOP interstitials, but I'm not sure how much it matters in practice.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Tracking "Figure out GetInProcessTop usage" bugs for Fission M6b.
Comment 2•4 years ago
|
||
Baku or Henri, I'm hoping one of you is the right person to review this usage?
Comment 3•4 years ago
|
||
Jon, do you have time to take a look?
Comment 4•4 years ago
|
||
I don't understand this enough to usefully review it.
Comment 5•4 years ago
|
||
This exists in order to fix bug 383331. I don't know how much it matters in practice, but the suggestions from comment 0 seems prudent and reasonable.
Comment 6•4 years ago
|
||
Steven, you can ask kmag for more context, if you need.
Assignee | ||
Comment 7•4 years ago
|
||
ReadyToExecuteParserBlockingScripts
was walking the ancestor chain but
would stop if it hit an OOP ancestor. With this change we walk the
BrowsingContext
tree instead, so that we may skip over OOP ancestors
and continue checking all in process ancestors.
Pushed by smacleod@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/72c9cdfb1049 fix ScriptLoader::ReadyToExecuteParserBlockingScripts stopping at OOP ancestors. r=kmag
Comment 9•4 years ago
|
||
bugherder |
Description
•