[Pkg-mozext-commits] [adblock-plus] 06/22: Issue 2151 - Fixed: $sitekey ignored for $elemhide filters

David Prévot taffit at moszumanska.debian.org
Wed Apr 1 19:35:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 20ed07bb588c3bf58364e24a87683e143b46ddc1
Author: Thomas Greiner <thomas at adblockplus.org>
Date:   Fri Mar 20 19:22:46 2015 +0100

    Issue 2151 - Fixed: $sitekey ignored for $elemhide filters
---
 lib/contentPolicy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/contentPolicy.js b/lib/contentPolicy.js
index e153328..f614d76 100644
--- a/lib/contentPolicy.js
+++ b/lib/contentPolicy.js
@@ -199,7 +199,7 @@ let Policy = exports.Policy =
         let testWndLocation = parentWndLocation;
         parentWndLocation = (testWnd == testWnd.parent ? testWndLocation : getWindowLocation(testWnd.parent));
         let parentDocDomain = getHostname(parentWndLocation);
-        match = defaultMatcher.matchesAny(testWndLocation, "ELEMHIDE", parentDocDomain, false);
+        match = defaultMatcher.matchesAny(testWndLocation, "ELEMHIDE", parentDocDomain, false, sitekey);
         if (match instanceof WhitelistFilter)
         {
           FilterStorage.increaseHitCount(match, wnd);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list