Bug 1079372 - Default browser notification bar should have 'warning' priority, not 'info'. r=gijs
authorDão Gottwald <dao@mozilla.com>
Wed, 08 Oct 2014 06:23:30 +0200
changeset 209327 75046b047a6c8dcfb184538cb464c387cc85999c
parent 209326 547ad4574166f3e6f9f7d51558725213df9caf2a
child 209328 4ab57c3f1745cfaf7668665cc46d54e83a8536a4
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersgijs
bugs1079372
milestone35.0a1
Bug 1079372 - Default browser notification bar should have 'warning' priority, not 'info'. r=gijs
browser/components/nsBrowserGlue.js
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -2237,17 +2237,17 @@ let DefaultBrowserCheck = {
         accessKey: optionsKey,
         popup: this.OPTIONPOPUP
       }
     ];
 
 
     let iconPixels = win.devicePixelRatio > 1 ? "32" : "16";
     let iconURL = "chrome://branding/content/icon" + iconPixels + ".png";
-    const priority = notificationBox.PRIORITY_INFO_HIGH;
+    const priority = notificationBox.PRIORITY_WARNING_HIGH;
     let callback = this._onNotificationEvent.bind(this);
     this._notification = notificationBox.appendNotification(promptMessage, "default-browser",
                                                             iconURL, priority, buttons,
                                                             callback);
     this._notification.persistence = -1;
   },
 
   _onNotificationEvent: function(eventType) {