mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 904477 - Add missing error handlers for promises used in SessionStore. r=ttaubert
This commit is contained in:
parent
e110575c7c
commit
cf6c519669
@ -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
|
||||
);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user