Open Bug 1649352 Opened 4 years ago Updated 4 years ago

Remove nsIBrowser::updateForStateChange et al

Categories

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

task

Tracking

()

People

(Reporter: mattwoodrow, Unassigned)

References

(Blocks 1 open bug)

Details

nsIBrowser::updateForStateChange/updateForLocationChange/updateWebNavigationForLocationChange all update state on the <browser> object, but only if the <browser> is currently remote.

I think we should instead have the same information available on WindowGlobalParent, for both remote and local, and change the browser-custom-element.js code to just directly pull from there.

Some values are already there (I changed innerWindow to do this recently), others will be to be added to WindowGlobalParent.

Getting rid of these setters will make bug 1647554 much easier.

updateWebNavigationForLocationChange requires SessionHistory data, so might be blocked on session-history-in-parent.

Task S N/A

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.