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

Unified Diff: lib/api.js

Issue 29512648: Issue 5475 - Update adblockpluscore dependency to revision hg:b935a0402215 (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Aug. 11, 2017, 12:36 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
Index: lib/api.js
diff --git a/lib/api.js b/lib/api.js
index 1bb849e06996c05af2d78eac588d43baf51971b8..9f77c73b64ce250b015a842cccf69a8063b3580e 100644
--- a/lib/api.js
+++ b/lib/api.js
@@ -17,6 +17,7 @@
var API = (function()
{
+ const {Services} = Cu.import("resource://gre/modules/Services.jsm", {});
var Filter = require("filterClasses").Filter;
var Subscription = require("subscriptionClasses").Subscription;
var SpecialSubscription = require("subscriptionClasses").SpecialSubscription;
@@ -192,7 +193,7 @@ var API = (function()
getElementHidingSelectors: function(domain)
{
- return ElemHide.getSelectorsForDomain(domain, false);
+ return ElemHide.getSelectorsForDomain(domain, ElemHide.ALL_MATCHING, false);
sergei 2017/08/11 12:49:38 see https://github.com/adblockplus/adblockpluscore
},
getPref: function(pref)

Powered by Google App Engine
This is Rietveld