Setting the URI on a restored docShell fires extra `onLocationChange` and `onSecurityChange` events. https://searchfox.org/mozilla-central/rev/69a482382823f42f482e840f65725218d7654cc4/toolkit/components/sessionstore/SessionStoreUtils.cpp#1492 Given that this doesn't break anything else, we could skip firing `onLocationChange` here. We'll still get the regular location change when the tab actually starts loading.
Bug 1746383 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Setting the URI on a restored docShell fires extra `onLocationChange` and `onSecurityChange` events. https://searchfox.org/mozilla-central/rev/69a482382823f42f482e840f65725218d7654cc4/toolkit/components/sessionstore/SessionStoreUtils.cpp#1492 Given that this wouldn't break anything else, we could skip firing `onLocationChange` here. We'll still get the regular location change when the tab actually starts loading.