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

Unified Diff: webrequest.js

Issue 29321504: Issue 2738 - Pass bit masks to matching functions (Closed)
Patch Set: Updated adblockplus dependency Created July 14, 2015, 2:45 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 | « popupBlocker.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrequest.js
diff --git a/webrequest.js b/webrequest.js
index a771874ae465f790ab9d2214848a1564f0fd4291..e8ecd640bcddf12318831ef72c05727ca7e02f58 100644
--- a/webrequest.js
+++ b/webrequest.js
@@ -67,7 +67,7 @@ function onBeforeRequest(url, type, page, frame)
var key = getKey(page, frame);
var filter = defaultMatcher.matchesAny(
stringifyURL(url),
- type, docDomain,
+ RegExpFilter.typeMap[type], docDomain,
isThirdParty(url, docDomain),
key
);
« no previous file with comments | « popupBlocker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld