зеркало из https://github.com/mozilla/gecko-dev.git
Bug 865745 - Continue to ignore onTabClose exception in metro 8 Session Store. r=me
This commit is contained in:
Родитель
20ac01a955
Коммит
76f485733c
|
@ -370,8 +370,11 @@ SessionStore.prototype = {
|
||||||
if (aWindow.Browser.tabs.length > 0) {
|
if (aWindow.Browser.tabs.length > 0) {
|
||||||
// Bundle this browser's data and extra data and save in the closedTabs
|
// Bundle this browser's data and extra data and save in the closedTabs
|
||||||
// window property
|
// window property
|
||||||
|
//
|
||||||
|
// NB: The access to aBrowser.__SS_extdata throws during automation (in
|
||||||
|
// browser_msgmgr_01). See bug 888736.
|
||||||
let data = aBrowser.__SS_data;
|
let data = aBrowser.__SS_data;
|
||||||
data.extData = aBrowser.__SS_extdata;
|
try { data.extData = aBrowser.__SS_extdata; } catch (e) { }
|
||||||
|
|
||||||
this._windows[aWindow.__SSID].closedTabs.unshift(data);
|
this._windows[aWindow.__SSID].closedTabs.unshift(data);
|
||||||
let length = this._windows[aWindow.__SSID].closedTabs.length;
|
let length = this._windows[aWindow.__SSID].closedTabs.length;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче