From 5f63398af83541d44fc584255f093403c449227a Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 17 May 2017 17:40:55 -0400 Subject: [PATCH] fix regression reported at http://forums.mozillazine.org/viewtopic.php?p=14748380#p14748380 --- src/js/cosmetic-filtering.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/js/cosmetic-filtering.js b/src/js/cosmetic-filtering.js index 4edd2b69c..1abe92293 100644 --- a/src/js/cosmetic-filtering.js +++ b/src/js/cosmetic-filtering.js @@ -1339,8 +1339,7 @@ FilterContainer.prototype.skipGenericCompiledContent = function(lineIter) { continue; } - fieldIter.first(line); - field0 = fieldIter.next(); + field0 = fieldIter.first(line); field1 = fieldIter.next(); // h [\v] hash [\v] example.com [\v] .promoted-tweet @@ -1406,8 +1405,7 @@ FilterContainer.prototype.skipCompiledContent = function(lineIter) { continue; } - fieldIter.first(line); - field0 = fieldIter.next(); + field0 = fieldIter.first(line); // js [\v] hash [\v] example.com [\v] script:contains(...) // js [\v] hash [\v] example.com [\v] script:inject(...)