Bug 624952 - Firefox 4.0 often shows all tab groups' tabs on startup [r=ian, a=dolske]
authorTim Taubert <tim.taubert@gmx.de>
Fri, 21 Jan 2011 22:42:51 +0100
changeset 61161 1c89c6d9574cff4c07195565b9c3736b048a19dc
parent 61160 32738fd1cdfb5721bfe0f442d122a075c6e89f10
child 61162 afe951130c656a404cce775b78a89992086b5d25
push id18252
push usereakhgari@mozilla.com
push dateMon, 24 Jan 2011 04:32:05 +0000
treeherdermozilla-central@4e57b18dd908 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersian, dolske
bugs624952
milestone2.0b10pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 624952 - Firefox 4.0 often shows all tab groups' tabs on startup [r=ian, a=dolske]
browser/base/content/tabview/ui.js
--- a/browser/base/content/tabview/ui.js
+++ b/browser/base/content/tabview/ui.js
@@ -195,21 +195,16 @@ let UI = {
           } else {
             self._lastClick = Date.now();
             self._lastClickPositions = new Point(e.clientX, e.clientY);
             self._createGroupItemOnDrag(e);
           }
         }
       });
 
-      iQ(window).bind("beforeunload", function() {
-        Array.forEach(gBrowser.tabs, function(tab) {
-          gBrowser.showTab(tab);
-        });
-      });
       iQ(window).bind("unload", function() {
         self.uninit();
       });
 
       gWindow.addEventListener("tabviewhide", function() {
         self.exit();
       }, false);