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": |