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 250111 a810067a6cf19401bebf59d14a27b47abfb43973
parent 250110 dbb2669057808e7f95d81b8a88e0c75aa0365269
child 250112 fde6d2f7d6bca3ff14f49190f49c02abc7bcf61c
push id28946
push usercbook@mozilla.com
push dateThu, 25 Jun 2015 09:04:42 +0000
treeherdermozilla-central@5ed704eb26e9 [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
    *