Bug 1170759 - Update permissions section when switching between tabs with the keyboard while the identity panel is shown r=Gijs
authorTim Taubert <ttaubert@mozilla.com>
Mon, 15 Jun 2015 14:06:09 +0200
changeset 280882 a810067a6cf19401bebf59d14a27b47abfb43973
parent 280881 dbb2669057808e7f95d81b8a88e0c75aa0365269
child 280883 fde6d2f7d6bca3ff14f49190f49c02abc7bcf61c
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-beta@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1170759
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1170759 - Update permissions section when switching between tabs with the keyboard while the identity panel is shown r=Gijs
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -6854,18 +6854,20 @@ var gIdentityHandler = {
       return;
     }
 
     this._identityPopup.className = newMode;
     this._identityBox.className = newMode;
     this.setIdentityMessages(newMode);
 
     // Update the popup too, if it's open
-    if (this._identityPopup.state == "open")
+    if (this._identityPopup.state == "open") {
       this.setPopupMessages(newMode);
+      this.updateSitePermissions();
+    }
 
     this._mode = newMode;
   },
 
   /**
    * Set up the messages for the primary identity UI based on the specified mode,
    * and the details of the SSL cert, where applicable
    *