Index: lib/csp.js |
diff --git a/lib/csp.js b/lib/csp.js |
index 5309863ab1bb65b9f8a5318d44ef723d0a6d49e9..1cd31044e81afbd9d8298f926a23b294fb398ed8 100644 |
--- a/lib/csp.js |
+++ b/lib/csp.js |
@@ -21,7 +21,7 @@ let {defaultMatcher} = require("matcher"); |
let {BlockingFilter, RegExpFilter} = require("filterClasses"); |
let {getDecodedHostname} = require("url"); |
-chrome.webRequest.onHeadersReceived.addListener(function(details) |
+chrome.webRequest.onHeadersReceived.addListener(details => |
{ |
let hostname = getDecodedHostname(new URL(details.url)); |
let match = defaultMatcher.matchesAny("", RegExpFilter.typeMap.WEBSOCKET, |