Bug 1435090 - Hide the persist logs checkbox on the browser console; r=Honza. draft
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Thu, 08 Feb 2018 15:33:47 +0100
changeset 752603 fadfded4c1f7f20e8df1da408b7d83d0bddb790b
parent 752602 6f5f278ea69af479c8e1eda87f939ac30a8d6ae7
push id98314
push userbmo:nchevobbe@mozilla.com
push dateThu, 08 Feb 2018 17:33:39 +0000
reviewersHonza
bugs1435090
milestone60.0a1
Bug 1435090 - Hide the persist logs checkbox on the browser console; r=Honza. MozReview-Commit-ID: 1fT5YtyRRaT
devtools/client/webconsole/new-console-output/new-console-output-wrapper.js
--- a/devtools/client/webconsole/new-console-output/new-console-output-wrapper.js
+++ b/devtools/client/webconsole/new-console-output/new-console-output-wrapper.js
@@ -192,16 +192,17 @@ NewConsoleOutputWrapper.prototype = {
       }
 
       let consoleOutput = ConsoleOutput({
         serviceContainer,
         onFirstMeaningfulPaint: resolve
       });
 
       let filterBar = FilterBar({
+        hidePersistLogsCheckbox: this.jsterm.hud.isBrowserConsole,
         serviceContainer: {
           attachRefToHud
         }
       });
 
       let sideBar = SideBar({
         serviceContainer,
       });