Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/tests/performance/matching.html

Issue 29321487: Issue 2738 - Fix tests to pass type bit mask to matching functions (Closed)
Patch Set: Updated to match adblockplus changes Created July 12, 2015, 2:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/content/tests/matcher.js ('k') | chrome/content/tests/regexpFilters_matching.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/performance/matching.html
diff --git a/chrome/content/tests/performance/matching.html b/chrome/content/tests/performance/matching.html
index ad6561cb8678183a421fe450ea85df95321079be..662a38bf34ac6cd0d9aa2299a785a2fd9de6e534 100644
--- a/chrome/content/tests/performance/matching.html
+++ b/chrome/content/tests/performance/matching.html
@@ -68,7 +68,7 @@
function runTest()
{
for (let address of addresses)
- defaultMatcher.matchesAny(address, "IMAGE", null, false);
+ defaultMatcher.matchesAny(address, RegExpFilter.typeMap.IMAGE, null, false);
}
function cleanup()
« no previous file with comments | « chrome/content/tests/matcher.js ('k') | chrome/content/tests/regexpFilters_matching.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld