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

Unified Diff: lib/api.js

Issue 29335462: Issue 3337 - Update adblockplus reference in libadblockplus to revision hg:813682c7161e (Closed)
Patch Set: rebase Created April 19, 2016, 9:27 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 | « include/AdblockPlus/FilterEngine.h ('k') | libadblockplus.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/api.js
diff --git a/lib/api.js b/lib/api.js
index fc8943116cc94a4cb3bf3be8e02401a9082be241..ca656b898f6680637d15e84a030a5c8b02986738 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -151,12 +151,12 @@ var API = (function()
{
Notification.markAsShown(id);
},
- checkFilterMatch: function(url, contentType, documentUrl)
+ checkFilterMatch: function(url, contentTypeMask, documentUrl)
{
var requestHost = extractHostFromURL(url);
var documentHost = extractHostFromURL(documentUrl);
var thirdParty = isThirdParty(requestHost, documentHost);
- return defaultMatcher.matchesAny(url, contentType, documentHost, thirdParty);
+ return defaultMatcher.matchesAny(url, contentTypeMask, documentHost, thirdParty);
},
getElementHidingSelectors: function(domain)
« no previous file with comments | « include/AdblockPlus/FilterEngine.h ('k') | libadblockplus.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld