Bug 1383904 - Show old elevation dialog on elevation fail r?rstrong
The patch which originally disabled this seems to have been in
error, thinking it was the cause of failing tests on try. Can't
provide much more context than that.
MozReview-Commit-ID: 9h1pXVJeDCG
--- a/toolkit/mozapps/update/nsUpdateService.js
+++ b/toolkit/mozapps/update/nsUpdateService.js
@@ -3794,17 +3794,16 @@ UpdatePrompt.prototype = {
"Update:History", null, null);
},
/**
* See nsIUpdateService.idl
*/
showUpdateElevationRequired: function UP_showUpdateElevationRequired() {
if (getPref("getBoolPref", PREF_APP_UPDATE_SILENT, false) ||
- getPref("getBoolPref", PREF_APP_UPDATE_DOORHANGER, false) ||
this._getAltUpdateWindow()) {
return;
}
let um = Cc["@mozilla.org/updates/update-manager;1"].
getService(Ci.nsIUpdateManager);
this._showUI(null, URI_UPDATE_PROMPT_DIALOG, null,
UPDATE_WINDOW_NAME, "finishedBackground", um.activeUpdate);