Open Bug 1674511 Opened 1 year ago Updated 11 months ago

Reduce the amount of work we do for location hash and history push/replaceState changes in XULBrowserWindow's onLocationChange


(Firefox :: General, defect, P3)




Tracking Status
firefox84 --- affected


(Reporter: Gijs, Unassigned)



(Whiteboard: [fxperf:p3])

The method at issue is

See earlier changes in bug 1594472.

Same document loads cannot change the document principal (though they can change the URI!) so I believe that we do not need to run the identity block code, nor some of the other code in this method.

This is also a foot gun when we expect that these methods only get called when the page changes.

See Also: → 1673490

Yeah, that seems like a safe thing to do off-hand, though of course we will discover edge cases along the way :P

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → DOM: Navigation
Product: Firefox → Core
Component: DOM: Navigation → General
Product: Core → Firefox

Gijs, could you estimate a priority & severity for this?

Flags: needinfo?(gijskruitbosch+bugs)
Severity: -- → S3
Flags: needinfo?(gijskruitbosch+bugs)
Priority: -- → P3
Whiteboard: [fxperf:p3]
You need to log in before you can comment on or make changes to this bug.