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

Unified Diff: messageResponder.js

Issue 29337878: Issue 3736 - Fixed: Checks for share resources failed (Closed)
Patch Set: Rebased and added RegExpFilter mock Created March 14, 2016, 3:48 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 | « background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
===================================================================
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -192,8 +192,9 @@
callback(errors);
break;
case "filters.blocked":
- var filter = defaultMatcher.matchesAny(message.url, message.requestType,
- message.docDomain, message.thirdParty);
+ var filter = defaultMatcher.matchesAny(message.url,
+ RegExpFilter.typeMap[message.requestType], message.docDomain,
+ message.thirdParty);
callback(filter instanceof BlockingFilter);
break;
case "filters.get":
« no previous file with comments | « background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld