Bug 1527830 - Remove unused _filterPrefsPrefix in browser-console.js; r=yulia.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Thu, 14 Feb 2019 11:01:36 +0000
changeset 459024 e6a874b75c0bd45b9d782b9edde3bb30c0134d14
parent 459023 4394e1f91db89085e5d28e8d07924015eebde791
child 459025 7f857fddc9031e54cc3641518729562ee804fc57
push id35554
push userrgurzau@mozilla.com
push dateThu, 14 Feb 2019 17:00:27 +0000
treeherdermozilla-central@db6bcdbe4040 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyulia
bugs1527830
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1527830 - Remove unused _filterPrefsPrefix in browser-console.js; r=yulia. This property isn't used anymore, let's delete it. Differential Revision: https://phabricator.services.mozilla.com/D19749
devtools/client/webconsole/browser-console.js
--- a/devtools/client/webconsole/browser-console.js
+++ b/devtools/client/webconsole/browser-console.js
@@ -4,19 +4,16 @@
 
 "use strict";
 
 var Services = require("Services");
 loader.lazyRequireGetter(this, "extend", "devtools/shared/extend", true);
 loader.lazyRequireGetter(this, "Telemetry", "devtools/client/shared/telemetry");
 loader.lazyRequireGetter(this, "WebConsole", "devtools/client/webconsole/webconsole");
 
-// The preference prefix for all of the Browser Console filters.
-const BC_FILTER_PREFS_PREFIX = "devtools.browserconsole.filter.";
-
 /**
  * A BrowserConsole instance is an interactive console initialized *per target*
  * that displays console log data as well as provides an interactive terminal to
  * manipulate the target's document content.
  *
  * This object only wraps the iframe that holds the Browser Console UI. This is
  * meant to be an integration point between the Firefox UI and the Browser Console
  * UI and features.
@@ -54,18 +51,16 @@ BrowserConsole.prototype = extend(WebCon
   init() {
     if (this._bcInit) {
       return this._bcInit;
     }
 
     // Only add the shutdown observer if we've opened a Browser Console window.
     ShutdownObserver.init(this.hudService);
 
-    this.ui._filterPrefsPrefix = BC_FILTER_PREFS_PREFIX;
-
     const window = this.iframeWindow;
 
     // Make sure that the closing of the Browser Console window destroys this
     // instance.
     window.addEventListener("unload", () => {
       this.destroy();
     }, {once: true});