Index: lib/whitelisting.js |
diff --git a/lib/whitelisting.js b/lib/whitelisting.js |
index 4307511d17eb796d451f9ac4d1a7cccb3fce286e..bd03693e0e31df589862bb17fdaf2b45ad20237b 100644 |
--- a/lib/whitelisting.js |
+++ b/lib/whitelisting.js |
@@ -26,7 +26,7 @@ const {FilterStorage} = require("filterStorage"); |
const {stringifyURL, getDecodedHostname, |
extractHostFromFrame, isThirdParty} = require("url"); |
const {port} = require("messaging"); |
-const devtools = require("devtools"); |
+const {logWhitelistedDocument} = require("devLogger"); |
const {verifySignature} = require("rsa"); |
let sitekeys = new ext.PageMap(); |
@@ -43,9 +43,9 @@ function match(page, url, typeMask, docDomain, sitekey) |
urlString, typeMask, docDomain, thirdParty, sitekey |
); |
- if (filter && devtools) |
+ if (filter) |
{ |
- devtools.logWhitelistedDocument( |
+ logWhitelistedDocument( |
page, urlString, typeMask, docDomain, filter |
); |
} |