Skip to content
This repository was archived by the owner on Aug 13, 2018. It is now read-only.

Commit 0818ce8

Browse files
committed
Remove unfinished WS filter and fix compatibility with Nightly (also related to issue #15)
1 parent 3108455 commit 0818ce8

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

lib/wsm-netmonitor-overlay.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,6 @@ const WsmNetMonitorOverlay = Class(
6464
Trace.sysout("WsmNetMonitorOverlay.onBuild;", options);
6565

6666
let doc = this.getPanelDocument();
67-
let footer = doc.querySelector("#requests-menu-footer");
68-
let otherFilterButton = footer.querySelector("#requests-menu-filter-other-button");
69-
70-
let button = new ToolbarButton({
71-
id: "requests-menu-filter-ws-button",
72-
"class": "requests-menu-filter-button requests-menu-footer-button",
73-
toolbar: footer,
74-
"_data-key": "ws",
75-
checked: false,
76-
referenceElement: otherFilterButton.nextSibling,
77-
label: "webSockets.network.filter.label",
78-
tooltiptext: "webSockets.network.filter.tip",
79-
command: this.onWebSocketFilter.bind(this)
80-
});
8167

8268
// Load custom style-sheet into the panel window (content window of
8369
// the panel's frame). We need styles for the WS icon/link.
@@ -112,12 +98,6 @@ const WsmNetMonitorOverlay = Class(
11298
tool.selectUpgradeEvent(requestId);
11399
});
114100
},
115-
116-
// Commands
117-
118-
onWebSocketFilter: function() {
119-
// xxxHonza: TODO
120-
}
121101
});
122102

123103
// Exports from this module

0 commit comments

Comments
 (0)