Index: lib/csp.js |
diff --git a/lib/csp.js b/lib/csp.js |
index 1e9a3670ee8dddb31fea270bb105615a7b881bc4..b8664b915a630b6fb28ac99292fda99df2e07cd3 100644 |
--- a/lib/csp.js |
+++ b/lib/csp.js |
@@ -24,7 +24,7 @@ const {extractHostFromFrame, getDecodedHostname, |
isThirdParty, stringifyURL} = require("./url"); |
const {checkWhitelisted} = require("./whitelisting"); |
const {FilterNotifier} = require("filterNotifier"); |
-const devtools = require("./devtools"); |
+const {logRequest} = require("./hitLogger"); |
const {typeMap} = RegExpFilter; |
@@ -60,8 +60,8 @@ browser.webRequest.onHeadersReceived.addListener(details => |
return; |
} |
- devtools.logRequest([details.tabId], urlString, "CSP", hostname, |
- thirdParty, null, specificOnly, cspMatch); |
+ logRequest([details.tabId], urlString, "CSP", hostname, thirdParty, null, |
+ specificOnly, cspMatch); |
FilterNotifier.emit("filter.hitCount", cspMatch, 0, 0, [details.tabId]); |
if (cspMatch instanceof WhitelistFilter) |