[follow up] Bug 1216271 - Display a notification upon upgrade for users who currently allow notifications for at least one site

This commit is contained in:
janekptacijarabaci 2018-04-26 16:06:24 +02:00 • committed by Roy Tam
commit af0d98f060

View file

@ -850,6 +850,7 @@ BrowserGlue.prototype = {
// This will throw NS_ERROR_NOT_AVAILABLE if the notification cannot // This will throw NS_ERROR_NOT_AVAILABLE if the notification cannot
// be displayed per the idl. // be displayed per the idl.
AlertsService.showAlertNotification(null, title, text, AlertsService.showAlertNotification(null, title, text,
true, url, clickCallback);
} }
catch (e) { catch (e) {
Cu.reportError(e); Cu.reportError(e);
@ -1991,6 +1992,7 @@ ContentPermissionPrompt.prototype = {
case "pointerLock": case "pointerLock":
this._promptPointerLock(request, autoAllow); this._promptPointerLock(request, autoAllow);
break; break;
}
}, },
}; };