Replace uses of nsDocShell::GetAllDocShellsInSubtree in toolkit/components/extensions/
Categories
(WebExtensions :: General, task, P2)
Tracking
(Fission Milestone:M6b)
Fission Milestone | M6b |
People
(Reporter: u608768, Assigned: u608768)
References
Details
Attachments
(2 obsolete files)
There's currently 3 uses of this function in toolkit/components/extensions/:
ForEachDocShell
in ExtensionPolicyService.cppExtensionContent.enumerateWindows
(which appears to be dead code)WebNavigationFrames.iterateDocShellTree
This also removes an unused helper function.
Depends on D85340
Updated•4 years ago
|
After looking into the usages from comment 0 a little more, I'm fairly certain that neither of them (ignoring #2) will do anything with out-of-process docshells. We don't plan on removing GetAllDocShellsInSubtree any time soon, so we can probably just WONTFIX this bug. But I might be missing something -- zombie, can you take a quick look and verify?
Comment 4•4 years ago
•
|
||
(In reply to :kashav from comment #3)
After looking into the usages from comment 0 a little more, I'm fairly certain that neither of them (ignoring #2) will do anything with out-of-process docshells. We don't plan on removing GetAllDocShellsInSubtree any time soon, so we can probably just WONTFIX this bug. But I might be missing something -- zombie, can you take a quick look and verify?
Yeah, for #1, we run that from a process script, so docshells from each process are handled in the same process, that code doesn't need to care about OOP docshells.
For #3, the better approach would be to read all the info (via BCs) from the parent process, not message the child process and then use BCs to read the same info. :)
In any case, #3 would be part of bug 1581859, so yeah, i think we can close this.
Updated•4 years ago
|
Updated•4 years ago
|
Description
•