Bug 1088802 - Fix startup issues with metro frontend due to reassignment error introduced by a recent mc merge. r=mbrubeck
authorJim Mathies <jmathies@mozilla.com>
Fri, 24 Oct 2014 14:49:00 -0500
changeset 212448 24a2c61c7ae61b6fbfb61fd42eaf314290d87c28
parent 212447 0121cf3ba5d72182926ee3b7294543d07eda26ce
child 212449 20408ad61ce5a530d7e563da564efb9bb6b8658f
child 212499 0eb3fe5855a0aebc9465544448a47ada3da572d6
push id27711
push usercbook@mozilla.com
push dateMon, 27 Oct 2014 14:56:47 +0000
treeherdermozilla-central@20408ad61ce5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs1088802
milestone36.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 1088802 - Fix startup issues with metro frontend due to reassignment error introduced by a recent mc merge. r=mbrubeck
browser/metro/components/SessionStore.js
--- a/browser/metro/components/SessionStore.js
+++ b/browser/metro/components/SessionStore.js
@@ -621,17 +621,17 @@ SessionStore.prototype = {
     return data;
   },
 
   _collectTabData: function ss__collectTabData(aBrowser, aHistory) {
     // If this browser is being restored, skip any session save activity
     if (aBrowser.__SS_restore)
       return;
 
-    let aHistory = aHistory || { entries: [{ url: aBrowser.currentURI.spec, title: aBrowser.contentTitle }], index: 1 };
+    aHistory = aHistory || { entries: [{ url: aBrowser.currentURI.spec, title: aBrowser.contentTitle }], index: 1 };
 
     let tabData = {};
     tabData.entries = aHistory.entries;
     tabData.index = aHistory.index;
     tabData.attributes = { image: aBrowser.mIconURL };
 
     aBrowser.__SS_data = tabData;
   },