Bug 903244 - [Session Restore] this._resetTabRestoringState is not a function in onPurgeSessionHistory(); r=smacleod
authorTim Taubert <ttaubert@mozilla.com>
Sat, 10 Aug 2013 05:33:07 +0200
changeset 142077 c5ce901adf6197e4d5a8cb5c9e42197749e3aaf0
parent 142076 df3cf81576cc8a0d2507fb5155ecd210da986dcf
child 142078 201af048fc67f7ea91114e2cb2189dc0cc39ada8
push id25083
push userttaubert@mozilla.com
push dateSun, 11 Aug 2013 07:28:28 +0000
treeherdermozilla-central@3d20597e0a07 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmacleod
bugs903244
milestone26.0a1
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 903244 - [Session Restore] this._resetTabRestoringState is not a function in onPurgeSessionHistory(); r=smacleod
browser/components/sessionstore/src/SessionStore.jsm
--- a/browser/components/sessionstore/src/SessionStore.jsm
+++ b/browser/components/sessionstore/src/SessionStore.jsm
@@ -1042,17 +1042,17 @@ let SessionStoreInternal = {
     this._forEachBrowserWindow(function(aWindow) {
       Array.forEach(aWindow.gBrowser.tabs, function(aTab) {
         TabStateCache.delete(aTab);
         delete aTab.linkedBrowser.__SS_data;
         delete aTab.linkedBrowser.__SS_tabStillLoading;
         delete aTab.linkedBrowser.__SS_formDataSaved;
         if (aTab.linkedBrowser.__SS_restoreState)
           this._resetTabRestoringState(aTab);
-      });
+      }, this);
       openWindows[aWindow.__SSi] = true;
     });
     // also clear all data about closed tabs and windows
     for (let ix in this._windows) {
       if (ix in openWindows) {
         this._windows[ix]._closedTabs = [];
       } else {
         delete this._windows[ix];