diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index 9a5af3f7f70..95dc6d3abaa 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -326,6 +326,7 @@ window[chromehidden~="toolbar"] toolbar:not(.toolbar-primary):not(.chromeclass-m notifications are */ .notification-anchor-icon { display: none; + -moz-user-focus: normal; } #notification-popup-box[anchorid="geo-notification-icon"] > #geo-notification-icon, diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index d38fda3c80a..5fca5d0e177 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -159,9 +159,13 @@ XPCOMUtils.defineLazyGetter(this, "Weave", function() { XPCOMUtils.defineLazyGetter(this, "PopupNotifications", function () { let tmp = {}; Cu.import("resource://gre/modules/PopupNotifications.jsm", tmp); - return new tmp.PopupNotifications(gBrowser, - document.getElementById("notification-popup"), - document.getElementById("notification-popup-box")); + try { + return new tmp.PopupNotifications(gBrowser, + document.getElementById("notification-popup"), + document.getElementById("notification-popup-box")); + } catch (ex) { + Cu.reportError(ex); + } }); let gInitialPages = [ diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 858b4e10bb8..645b260d1bd 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -705,8 +705,8 @@ onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" onblur="setTimeout(function() document.getElementById('identity-box').style.MozUserFocus = '', 0);">