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

Unified Diff: lib/content/elemHideEmulation.js

Issue 29738589: Issue 6437 - Do not override scheduled full processing (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created March 31, 2018, 2:16 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/content/elemHideEmulation.js
===================================================================
--- a/lib/content/elemHideEmulation.js
+++ b/lib/content/elemHideEmulation.js
@@ -718,17 +718,18 @@
};
if (this._scheduledProcessing)
{
if (!stylesheets && !mutations)
{
this._scheduledProcessing = {};
}
- else
+ else if (this._scheduledProcessing.stylesheets ||
+ this._scheduledProcessing.mutations)
{
if (stylesheets)
{
if (!this._scheduledProcessing.stylesheets)
this._scheduledProcessing.stylesheets = [];
this._scheduledProcessing.stylesheets.push(...stylesheets);
}
if (mutations)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld