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:
@@ -1757,8 +1757,6 @@ var gBrowserInit = {
|
|||||||
|
|
||||||
// Stop the about:blank load
|
// Stop the about:blank load
|
||||||
gBrowser.stop();
|
gBrowser.stop();
|
||||||
// make sure it has a docshell
|
|
||||||
gBrowser.docShell;
|
|
||||||
|
|
||||||
// Remove the speculative focus from the urlbar to let the url be formatted.
|
// Remove the speculative focus from the urlbar to let the url be formatted.
|
||||||
gURLBar.removeAttribute("focused");
|
gURLBar.removeAttribute("focused");
|
||||||
|
|||||||
@@ -5143,8 +5143,6 @@
|
|||||||
if (!createLazyBrowser) {
|
if (!createLazyBrowser) {
|
||||||
// Stop the about:blank load.
|
// Stop the about:blank load.
|
||||||
newBrowser.stop();
|
newBrowser.stop();
|
||||||
// Make sure it has a docshell.
|
|
||||||
newBrowser.docShell;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.swapBrowsersAndCloseOther(newTab, aTab)) {
|
if (!this.swapBrowsersAndCloseOther(newTab, aTab)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user