Closed Bug 2018562 Opened 8 months ago Closed 3 months ago

Consider eagerly creating nsFrameLoader::mDocShell instead of using MaybeCreateDocShell()

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: vhilla, Unassigned)

References

Details

This approach would be conceptionally closer to the other about:blank changes in bug 543435.

Right now, there are many places that call nsFrameLoader::GetDocShell() and could cause lazy creation, making these call sites less predictable. Some might not allow script execution for example. See bug 1617488.

Bug 1595936 and the commit messages indicate that eager creation might not be possible.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.