Bug 904477 - Add missing error handlers for promises used in SessionStore. r=ttaubert

This commit is contained in:
Brian Graham 2013-09-17 11:37:28 -04:00
parent e110575c7c
commit cf6c519669
3 changed files with 4 additions and 3 deletions

View File

@ -413,7 +413,7 @@ let SessionStoreInternal = {
// Let everyone know we're done.
this._deferredInitialized.resolve();
});
}, Cu.reportError);
},
initSession: function ssi_initSession() {

View File

@ -259,7 +259,7 @@ let SessionFileInternal = {
SessionWorker.post("writeLoadStateOnceAfterStartup", [aLoadState]).then(msg => {
this._recordTelemetry(msg.telemetry);
return msg;
});
}, Cu.reportError);
},
createBackupCopy: function (ext) {

View File

@ -81,7 +81,8 @@ SessionStartup.prototype = {
}
_SessionFile.read().then(
this._onSessionFileRead.bind(this)
this._onSessionFileRead.bind(this),
Cu.reportError
);
},