Index: lib/requestBlocker.js |
diff --git a/lib/requestBlocker.js b/lib/requestBlocker.js |
index 0a00879af8dbd3e8af66b82bd11b2b8ae0db5a98..f455c3a6f777a7f16e7050311b956d49746dd969 100644 |
--- a/lib/requestBlocker.js |
+++ b/lib/requestBlocker.js |
@@ -155,7 +155,7 @@ FilterNotifier.on("filter.removed", onFilterChange); |
FilterNotifier.on("filter.disabled", arg => onFilterChange(arg, true)); |
FilterNotifier.on("load", onFilterChange); |
-port.on("websocket-request", function(msg, sender) |
+port.on("request.websocket", function(msg, sender) |
{ |
return ext.webRequest.onBeforeRequest._dispatch( |
new URL(msg.url), |