Index: lib/popupBlocker.js |
diff --git a/lib/popupBlocker.js b/lib/popupBlocker.js |
index 91f0f23d834249cdea7477caea9dc90d85b5aadb..f2c4246fbc40e4c71cdb95e548bdc2a5969a3e6f 100644 |
--- a/lib/popupBlocker.js |
+++ b/lib/popupBlocker.js |
@@ -23,7 +23,7 @@ const {defaultMatcher} = require("matcher"); |
const {BlockingFilter, RegExpFilter} = require("filterClasses"); |
const {stringifyURL, isThirdParty, extractHostFromFrame} = require("url"); |
const {checkWhitelisted} = require("whitelisting"); |
-const {logRequest} = require("devtools"); |
+const {logRequest} = require("hitLogger"); |
let loadingPopups = new Map(); |
@@ -61,7 +61,7 @@ function checkPotentialPopup(tabId, popup) |
browser.tabs.remove(tabId); |
logRequest( |
- popup.sourcePage, urlString, "POPUP", |
+ popup.sourcePage.id, urlString, "POPUP", |
documentHost, thirdParty, null, |
specificOnly, filter |
); |