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: Created March 4, 2016, 5:19 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 | « no previous file | 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
@@ -191,8 +191,9 @@
FilterStorage.addFilter(result.filter);
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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld