Bug 1456069 - Remove inaccurate comment in toolbox controller;r=jryans draft
authorJulian Descottes <jdescottes@mozilla.com>
Mon, 23 Apr 2018 09:54:33 +0200
changeset 792152 2af6164b5677dc5807a7d3a9cf9c04080aa545e3
parent 791057 a5bc0a445c38c5151d5fe8e11bd05646d548f003
child 792153 ba21d81251bb2217ad1e09fc8fd2638878e156b7
child 792155 901d1b7da5b1d058d8a91d98ed90addf7ef7c302
child 792377 bfabb0095ef3f1ebb4db69955853d2ee1510cfa3
push id109009
push userjdescottes@mozilla.com
push dateMon, 07 May 2018 18:40:55 +0000
reviewersjryans
bugs1456069
milestone61.0a1
Bug 1456069 - Remove inaccurate comment in toolbox controller;r=jryans MozReview-Commit-ID: 7YiWSZ4h39S
devtools/client/framework/toolbox.js
--- a/devtools/client/framework/toolbox.js
+++ b/devtools/client/framework/toolbox.js
@@ -1342,20 +1342,16 @@ Toolbox.prototype = {
 
     if (this.target.activeTab) {
       this.target.activeTab.reconfigure({
         "serviceWorkersTestingEnabled": serviceWorkersTestingEnabled
       });
     }
   },
 
- /**
-  * Return all toolbox buttons (command buttons, plus any others that were
-  * added manually).
-
   /**
    * Update the visibility of the buttons.
    */
   updateToolboxButtonsVisibility() {
     this.toolbarButtons.forEach(button => {
       button.isVisible = this._commandIsVisible(button);
     });
     this.component.setToolboxButtons(this.toolbarButtons);