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

Unified Diff: lib/requestBlocker.js

Issue 29907589: Issue 7054 - Update the adblockpluscore dependency to 5cb695da5a40, adblockplusui to f86abf2efdfd (Closed)
Patch Set: Address PS12 Comment Created Jan. 8, 2019, 1:02 a.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 | « lib/indexedDBBackup.js ('k') | lib/subscriptionInit.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/requestBlocker.js
===================================================================
--- a/lib/requestBlocker.js
+++ b/lib/requestBlocker.js
@@ -298,17 +298,17 @@
// Ignore disabled subscriptions and filters, unless they just got
// disabled, otherwise they have no effect on the handler behavior.
if (arg && arg.disabled && !isDisabledAction)
return;
// Ignore empty subscriptions. This includes subscriptions
// that have just been added, but not downloaded yet.
- if (arg instanceof Subscription && arg.filters.length == 0)
+ if (arg instanceof Subscription && arg.filterCount == 0)
return;
// Ignore all types of filters but request filters,
// only these have an effect on the handler behavior.
if (arg instanceof Filter && !(arg instanceof RegExpFilter))
return;
ignoreFilterNotifications = true;
« no previous file with comments | « lib/indexedDBBackup.js ('k') | lib/subscriptionInit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld