From 3010ab491581071b4825ab165e01d9cad7b17007 Mon Sep 17 00:00:00 2001 From: "florian@queze.net" Date: Fri, 14 Dec 2007 12:29:41 -0800 Subject: [PATCH] Bug 398907: Firefox saves wrong window restore size while closing a maximized window. r=mano, a=blocking-firefox3+ --- browser/base/content/browser.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 787122c47a9..e4d7b00c8b0 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -1087,14 +1087,6 @@ function BrowserShutdown() BrowserOffline.uninit(); - // Store current window position/size into the window attributes - // for persistence. - var win = document.documentElement; - win.setAttribute("x", window.screenX); - win.setAttribute("y", window.screenY); - win.setAttribute("height", window.outerHeight); - win.setAttribute("width", window.outerWidth); - var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(); var windowManagerInterface = windowManager.QueryInterface(Components.interfaces.nsIWindowMediator); var enumerator = windowManagerInterface.getEnumerator(null);