Closed Bug 1618057 Opened 4 years ago Closed 4 years ago

Figure out the right BrowsingContext to pass to DocumentLoadListener

Categories

(Core :: DOM: Networking, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mattwoodrow, Assigned: mattwoodrow)

References

Details

(Whiteboard: [fission-][necko-triaged])

Attachments

(1 file)

We currently pass the BrowserParent into DocumentLoadListener, and then grab the BrowsingContext from that.

This will vary depending on whether we're an in-process <iframe> or an OOP one, in ways that don't make a lot of sense.

Bug 1616716 is making us pass a BrowsingContext directly, but preserves the same behaviour (the BC of the nearest ancestor that is a process root).

We should figure out what the actual requirements are, and clean this up.

non-Fission-specific cleanup

Whiteboard: [fission-]

This also fixes the Window lookup in nsExternalAppHandler, which was the reason for previously needing the process-top BrowsingContext.

Priority: -- → P2
Whiteboard: [fission-] → [fission-][necko-triaged]
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/363f7fdf5e0a
Use the target BrowsingContext of the load, rather than the process-top BrowsingContext when initializing DocumentLoadListener. r=nika
Blocks: 1620499
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: