зеркало из https://github.com/mozilla/gecko-dev.git
Bug 904477 - Add missing error handlers for promises used in SessionStore. r=ttaubert
This commit is contained in:
Родитель
33e422252a
Коммит
a17cafba34
|
@ -413,7 +413,7 @@ let SessionStoreInternal = {
|
|||
|
||||
// Let everyone know we're done.
|
||||
this._deferredInitialized.resolve();
|
||||
});
|
||||
}, Cu.reportError);
|
||||
},
|
||||
|
||||
initSession: function ssi_initSession() {
|
||||
|
|
|
@ -259,7 +259,7 @@ let SessionFileInternal = {
|
|||
SessionWorker.post("writeLoadStateOnceAfterStartup", [aLoadState]).then(msg => {
|
||||
this._recordTelemetry(msg.telemetry);
|
||||
return msg;
|
||||
});
|
||||
}, Cu.reportError);
|
||||
},
|
||||
|
||||
createBackupCopy: function (ext) {
|
||||
|
|
|
@ -81,7 +81,8 @@ SessionStartup.prototype = {
|
|||
}
|
||||
|
||||
_SessionFile.read().then(
|
||||
this._onSessionFileRead.bind(this)
|
||||
this._onSessionFileRead.bind(this),
|
||||
Cu.reportError
|
||||
);
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче