Bug 1079372 - Default browser notification bar should have 'warning' priority, not 'info'. r=gijs a=lmandel
authorDão Gottwald <dao@mozilla.com>
Wed, 08 Oct 2014 06:23:30 +0200
changeset 225656 f6ccaf5a4b150033917282561db478f56201406f
parent 225655 d813d79d3eaebcd975417245f77576607e5b73c0
child 225657 e62489a11a2c87d4abc1ef9585fc772a2e0e3002
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs, lmandel
bugs1079372
milestone34.0a2
Bug 1079372 - Default browser notification bar should have 'warning' priority, not 'info'. r=gijs a=lmandel
browser/components/nsBrowserGlue.js
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -2222,17 +2222,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) {