Bug 1866080 - remove dead docShell accesses that should be no-ops under fission/e10s, r=dao,tabbrowser-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D194388
This commit is contained in:
Gijs Kruitbosch
2023-11-23 23:13:22 +00:00
parent 839fe1be5d
commit aa441af05a
2 changed files with 0 additions and 4 deletions

View File

@@ -1757,8 +1757,6 @@ var gBrowserInit = {
// Stop the about:blank load
gBrowser.stop();
// make sure it has a docshell
gBrowser.docShell;
// Remove the speculative focus from the urlbar to let the url be formatted.
gURLBar.removeAttribute("focused");

View File

@@ -5143,8 +5143,6 @@
if (!createLazyBrowser) {
// Stop the about:blank load.
newBrowser.stop();
// Make sure it has a docshell.
newBrowser.docShell;
}
if (!this.swapBrowsersAndCloseOther(newTab, aTab)) {