Bug 722460 - gBrowserThumbnails uninit sets a property that has only a getter [r=ttaubert]
authorPaul O'Shannessy <paul@oshannessy.com>
Tue, 21 Feb 2012 00:36:55 +0100
changeset 87172 94ab58a742a9093117c6739715ea6cbfd64d1d53
parent 87171 74cb4c127dc1a38805a3de989ec1dfc9988e8c09
child 87173 3d77924fb9701af70a6f84894b311532e52b6cd8
push id547
push usertim.taubert@gmx.de
push dateMon, 20 Feb 2012 23:37:15 +0000
treeherderfx-team@94ab58a742a9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert
bugs722460
milestone13.0a1
Bug 722460 - gBrowserThumbnails uninit sets a property that has only a getter [r=ttaubert]
browser/base/content/browser-thumbnails.js
--- a/browser/base/content/browser-thumbnails.js
+++ b/browser/base/content/browser-thumbnails.js
@@ -39,19 +39,16 @@ let gBrowserThumbnails = {
   },
 
   uninit: function Thumbnails_uninit() {
     gBrowser.removeTabsProgressListener(this);
 
     this._tabEvents.forEach(function (aEvent) {
       gBrowser.tabContainer.removeEventListener(aEvent, this, false);
     }, this);
-
-    this._timeouts = null;
-    this._pageThumbs = null;
   },
 
   handleEvent: function Thumbnails_handleEvent(aEvent) {
     switch (aEvent.type) {
       case "scroll":
         let browser = aEvent.currentTarget;
         if (this._timeouts.has(browser))
           this._delayedCapture(browser);