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

Unified Diff: lib/child/requestNotifier.js

Issue 29364102: Issue 4658 - Incorporate element hiding emulation filters (Closed) Base URL: https://bitbucket.org/fhd/adblockplus
Patch Set: Update adblockpluscore dependency to b1e70036624f Created Dec. 13, 2016, 5:32 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
« no previous file with comments | « lib/child/main.js ('k') | lib/elemHideEmulation.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/child/requestNotifier.js
===================================================================
--- a/lib/child/requestNotifier.js
+++ b/lib/child/requestNotifier.js
@@ -357,25 +357,25 @@
hidden: 0,
blocked: 0,
whitelisted: 0,
filters: {}
});
}
let stats = windowStats.get(topWnd.document);
- if (filterType != "elemhide" && filterType != "elemhideexception" && filterType != "cssproperty")
+ if (filterType != "elemhide" && filterType != "elemhideexception" && filterType != "elemhideemulation")
stats.items++;
if (filter)
{
if (filterType == "blocking")
stats.blocked++;
else if (filterType == "whitelist" || filterType == "elemhideexception")
stats.whitelisted++;
- else if (filterType == "elemhide" || filterType == "cssproperty")
+ else if (filterType == "elemhide" || filterType == "elemhideemulation")
stats.hidden++;
if (filter in stats.filters)
stats.filters[filter]++;
else
stats.filters[filter] = 1;
}
« no previous file with comments | « lib/child/main.js ('k') | lib/elemHideEmulation.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld