Index: chrome/content/tests/regexpFilters_matching.js |
diff --git a/chrome/content/tests/regexpFilters_matching.js b/chrome/content/tests/regexpFilters_matching.js |
index adbaa5e75bf4604dc12b2567900d2b06b3157a0a..c2957d87de55285dd3876893f2b82a3e09c376fd 100644 |
--- a/chrome/content/tests/regexpFilters_matching.js |
+++ b/chrome/content/tests/regexpFilters_matching.js |
@@ -7,7 +7,7 @@ |
function testMatch_internal(text, location, contentType, docDomain, thirdParty, sitekey, expected) |
{ |
let filter = Filter.fromText(text); |
- let result = filter.matches(location, contentType, docDomain, thirdParty, sitekey); |
+ let result = filter.matches(location, RegExpFilter.toTypeMask(contentType), docDomain, thirdParty, sitekey); |
equal(!!result, expected, '"' + text + '".matches(' + location + ", " + contentType + ", " + docDomain + ", " + (thirdParty ? "third-party" : "first-party") + ", " + (sitekey || "no-sitekey") + ")"); |
} |
testMatch_internal(text, location, contentType, docDomain, thirdParty, sitekey, expected); |