| 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..044b26f764a279c27bb8c431afba05612ac9bfd2 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.typeMap[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); |