Index: popupBlocker.js |
diff --git a/popupBlocker.js b/popupBlocker.js |
index 2735f0a987d5d6dbdd093efe9c5d51cfaaeb3be6..6fc5658afa72540a57de56073efac8bbdcbdc27c 100644 |
--- a/popupBlocker.js |
+++ b/popupBlocker.js |
@@ -56,7 +56,7 @@ function checkPotentialPopup(tabId, url, documentHost) |
url = new URL(url || "about:blank"); |
var filter = defaultMatcher.matchesAny( |
- stringifyURL(url), "POPUP", |
+ stringifyURL(url), RegExpFilter.toTypeMask("POPUP"), |
documentHost, isThirdParty(url, documentHost) |
); |