mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 976454 - MozActivity emits ActivityCancelled instead USER_ABORT, r=fabrice
This commit is contained in:
parent
a07aab0719
commit
c68e8e19ca
@ -221,7 +221,7 @@ let Activities = {
|
|||||||
if (aChoice === -1) {
|
if (aChoice === -1) {
|
||||||
Activities.callers[aMsg.id].mm.sendAsyncMessage("Activity:FireError", {
|
Activities.callers[aMsg.id].mm.sendAsyncMessage("Activity:FireError", {
|
||||||
"id": aMsg.id,
|
"id": aMsg.id,
|
||||||
"error": "USER_ABORT"
|
"error": "ActivityCanceled"
|
||||||
});
|
});
|
||||||
delete Activities.callers[aMsg.id];
|
delete Activities.callers[aMsg.id];
|
||||||
return;
|
return;
|
||||||
@ -357,7 +357,7 @@ let Activities = {
|
|||||||
if (this.callers[id].childMM == mm) {
|
if (this.callers[id].childMM == mm) {
|
||||||
this.callers[id].mm.sendAsyncMessage("Activity:FireError", {
|
this.callers[id].mm.sendAsyncMessage("Activity:FireError", {
|
||||||
"id": id,
|
"id": id,
|
||||||
"error": "USER_ABORT"
|
"error": "ActivityCanceled"
|
||||||
});
|
});
|
||||||
delete this.callers[id];
|
delete this.callers[id];
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user