Bug 1435090 - Hide the persist logs checkbox on the browser console; r=Honza.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Thu, 08 Feb 2018 15:33:47 +0100
changeset 752946 dfd0afe71bb5c1430c3abca4ca31ac76d65cc1f1
parent 752945 28bcec297b6c5b873d6a84d07eaac84b0c80d26c
child 752970 d49553765a743ebbd4f08e92a93c9d811ee064c2
child 753095 67200889cdc11f49cfca5f53cf2e857090432d49
push id98429
push usermak77@bonardo.net
push dateFri, 09 Feb 2018 10:14:12 +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,
       });