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

Unified Diff: lib/api.js

Issue 11021064: Fixed: domain options aren`t treated correctly by the matcher (Closed)
Patch Set: Created July 5, 2013, 12:39 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 | test/FilterEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/api.js
===================================================================
--- a/lib/api.js
+++ b/lib/api.js
@@ -136,17 +136,17 @@ var API = (function()
return result;
},
checkFilterMatch: function(url, contentType, documentUrl)
{
var requestHost = extractHostFromURL(url);
var documentHost = extractHostFromURL(documentUrl);
var thirdParty = isThirdParty(requestHost, documentHost);
- return defaultMatcher.matchesAny(url, contentType, documentUrl, thirdParty);
+ return defaultMatcher.matchesAny(url, contentType, documentHost, thirdParty);
},
getElementHidingSelectors: function(domain)
{
return ElemHide.getSelectorsForDomain(domain, false);
},
getPref: function(pref)
« no previous file with comments | « no previous file | test/FilterEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld