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