Bug 1447153 - Add a Nightly-only preference to hide the tab throbbers for performance diagnostics. r?jaws draft
authorMike Conley <mconley@mozilla.com>
Mon, 19 Mar 2018 17:31:47 -0400
changeset 769612 02d043c2612d1878a007c0f787e6c0bb9451bd9f
parent 769536 60a1c438111e06120d2aaba9845c14e7277dbb9d
child 770686 545b10b5df301b8794737f675417770f9ab6e27f
push id103189
push usermconley@mozilla.com
push dateMon, 19 Mar 2018 21:32:22 +0000
reviewersjaws
bugs1447153
milestone61.0a1
Bug 1447153 - Add a Nightly-only preference to hide the tab throbbers for performance diagnostics. r?jaws MozReview-Commit-ID: LwAiKFR9Pew
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -191,16 +191,25 @@ panelview[mainview] > .panel-header {
 
 .tab-label:not([fadein]),
 .tab-throbber:not([fadein]),
 .tab-throbber-fallback:not([fadein]),
 .tab-icon-image:not([fadein]) {
   display: none;
 }
 
+%ifdef NIGHTLY_BUILD
+@supports -moz-bool-pref("browser.tabs.hideThrobber") {
+  .tab-throbber,
+  .tab-throbber-fallback {
+    display: none;
+  }
+}
+%endif
+
 #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
   position: fixed !important;
   display: block; /* position:fixed already does this (bug 579776), but let's be explicit */
 }
 
 #tabbrowser-tabs[movingtab] > .tabbrowser-tab[selected] {
   position: relative;
   z-index: 2;