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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nicolas Chevobbe 2019-02-14 11:01:36 +00:00
Родитель 2872ea9752
Коммит ba67293ef7
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -9,9 +9,6 @@ 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
@ -59,8 +56,6 @@ BrowserConsole.prototype = extend(WebConsole.prototype, {
// 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