diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index a0c8c5076cb8..a789609b634c 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -929,7 +929,7 @@ function BrowserCloseWindow() win.setAttribute( "height", h ); win.setAttribute( "width", w ); - window.close(); + closeWindow(true); } function loadURI(uri, referrer) diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 8893c57ab95b..682997291521 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -40,7 +40,7 @@ +