Bug 1108187 - Hide Loop's toolbar button in private browsing mode as Loop doesn't work fully in it yet. r=mikedeboer, a=lizzard
authorMark Banner <standard8@mozilla.com>
Wed, 04 Mar 2015 13:36:53 +0000
changeset 250265 d6b0db94153e
parent 250264 a38e1a8b5b7d
child 250266 3146d4299a62
push id4528
push userryanvm@gmail.com
push date2015-03-05 22:37 +0000
treeherdermozilla-beta@3146d4299a62 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmikedeboer, lizzard
bugs1108187
milestone37.0
Bug 1108187 - Hide Loop's toolbar button in private browsing mode as Loop doesn't work fully in it yet. r=mikedeboer, a=lizzard
browser/components/customizableui/CustomizableWidgets.jsm
--- a/browser/components/customizableui/CustomizableWidgets.jsm
+++ b/browser/components/customizableui/CustomizableWidgets.jsm
@@ -923,16 +923,18 @@ const CustomizableWidgets = [
       win.MailIntegration.sendLinkForBrowser(win.gBrowser.selectedBrowser)
     }
   }, {
     id: "loop-button",
     type: "custom",
     label: "loop-call-button3.label",
     tooltiptext: "loop-call-button3.tooltiptext",
     defaultArea: CustomizableUI.AREA_NAVBAR,
+    // Not in private browsing, see bug 1108187.
+    showInPrivateBrowsing: false,
     introducedInVersion: 4,
     onBuild: function(aDocument) {
       // If we're not supposed to see the button, return zip.
       if (!Services.prefs.getBoolPref("loop.enabled")) {
         return null;
       }
 
       let node = aDocument.createElementNS(kNSXUL, "toolbarbutton");