[Pkg-mozext-commits] [adblock-plus] 61/98: Issue 4368 - Ignore whitelisted schemes for pop-ups

David Prévot taffit at moszumanska.debian.org
Tue Oct 24 01:30:20 UTC 2017


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

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

commit eee8d794c7b20ed9c89afb34cf869c3471c9b75c
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Nov 14 13:47:44 2016 +0100

    Issue 4368 - Ignore whitelisted schemes for pop-ups
---
 lib/contentPolicy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/contentPolicy.js b/lib/contentPolicy.js
index c8bce20..ec37798 100644
--- a/lib/contentPolicy.js
+++ b/lib/contentPolicy.js
@@ -139,7 +139,7 @@ var Policy = exports.Policy =
     }
 
     // Ignore whitelisted schemes
-    if (!this.isBlockableScheme(location))
+    if (contentType != "POPUP" && !this.isBlockableScheme(location))
       return response(true, false);
 
     // Interpret unknown types as "other"

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