[Pkg-mozext-commits] [adblock-plus] 12/87: Issue 154 - Adapted for change replacing isFrameWhitelisted with checkWhitelisted

David Prévot taffit at moszumanska.debian.org
Sat Apr 30 17:59:03 UTC 2016


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

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

commit 9288527892e4a5d742b0b00bbf4f7fb8889f46f4
Author: Sebastian Noack <sebastian at adblockplus.org>
Date:   Tue Feb 2 12:31:48 2016 +0100

    Issue 154 - Adapted for change replacing isFrameWhitelisted with checkWhitelisted
---
 messageResponder.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/messageResponder.js b/messageResponder.js
index 6b78e8b..90f2c9a 100644
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -199,11 +199,11 @@
         if (message.what == "cssproperties")
         {
           var filters = [];
-          var isFrameWhitelisted = require("whitelisting").isFrameWhitelisted;
+          var checkWhitelisted = require("whitelisting").checkWhitelisted;
 
-          if (!isFrameWhitelisted(sender.page, sender.frame,
-                                  RegExpFilter.typeMap.DOCUMENT |
-                                  RegExpFilter.typeMap.ELEMHIDE))
+          if (!checkWhitelisted(sender.page, sender.frame,
+                                RegExpFilter.typeMap.DOCUMENT |
+                                RegExpFilter.typeMap.ELEMHIDE))
           {
             filters = CSSRules.getRulesForDomain(sender.frame.url.hostname);
             filters = filters.map(function(filter)

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