mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 812584: Part 1 - Always forward update download errors in B2G. r=bbondy
This commit is contained in:
parent
16fb068790
commit
81e2685a60
@ -3651,6 +3651,14 @@ Downloader.prototype = {
|
||||
prompter.showUpdateError(this._update);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
// We always forward errors in B2G, since Gaia controls the update UI
|
||||
var prompter = Cc["@mozilla.org/updates/update-prompt;1"].
|
||||
createInstance(Ci.nsIUpdatePrompt);
|
||||
prompter.showUpdateError(this._update);
|
||||
#endif
|
||||
|
||||
// Prevent leaking the update object (bug 454964).
|
||||
this._update = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user