Open Bug 1647554 Opened 4 years ago Updated 3 years ago

Synthesize RemoteWebProgress events from CanonicalBrowsingContext

Categories

(Core :: DOM: Navigation, task, P3)

task

Tracking

()

Fission Milestone Future

People

(Reporter: mattwoodrow, Unassigned)

References

(Depends on 2 open bugs, Blocks 2 open bugs)

Details

We currently forward nsIWebProgress events from nsDocShell over PBrowser to the parent process.

For loads that switch process mid-load, we have two docshells (the one where the load started, and one where it finished). We currently have code that filters the notifications from these two places and makes it look like a single load.

The goal of bug 1647550 is to only have a docshell in the latter half a of a load (once we have a response, and have directed it to a process). For this we'll need to synthesize any events that happen before that point.

I think we can just move towards synthesizing all of them, using DocumentLoadListener creation for onStateChange(STATE_START), CanonicalBrowsingContext::SetCurrentWindowGlobal for onLocationChange etc

This bug doesn't need to block any particular Fission milestone. kmag says it will probably get fixed when someone needs it to fix some other bug.

Fission Milestone: --- → Future
Priority: -- → P3
Depends on: 1649350
Depends on: 1649352
Severity: -- → N/A
Blocks: 1678429
You need to log in before you can comment on or make changes to this bug.