mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1034229 - Fire oncancel() when passed to request() with refreshAuthentication. r=jedp
This commit is contained in:
parent
7f0be7e753
commit
2b55741f5a
@ -187,7 +187,7 @@ FxAccountsService.prototype = {
|
||||
error => {
|
||||
log.error("get assertion failed: " + JSON.stringify(error));
|
||||
// Cancellation is passed through an error channel; here we reroute.
|
||||
if (error.details && (error.details.error == "DIALOG_CLOSED_BY_USER")) {
|
||||
if (error.error && (error.error.details == "DIALOG_CLOSED_BY_USER")) {
|
||||
return this.doCancel(aRPId);
|
||||
}
|
||||
this.doError(aRPId, error);
|
||||
|
Loading…
Reference in New Issue
Block a user