diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index a7b638707e0a..78ac35db97de 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -1925,7 +1925,7 @@ evt.initUIEvent("TabClose", true, false, window, aTabWillBeMoved ? 1 : 0); aTab.dispatchEvent(evt); - if (!gMultiProcessBrowser) { + if (!aTabWillBeMoved && !gMultiProcessBrowser) { // Prevent this tab from showing further dialogs, since we're closing it var windowUtils = browser.contentWindow.QueryInterface(Ci.nsIInterfaceRequestor). getInterface(Ci.nsIDOMWindowUtils);