Index: lib/content/elemHideEmulation.js |
=================================================================== |
--- a/lib/content/elemHideEmulation.js |
+++ b/lib/content/elemHideEmulation.js |
@@ -303,23 +303,23 @@ |
{ |
this._regexp = makeRegExpParameter(textContent); |
} |
ContainsSelector.prototype = { |
requiresHiding: true, |
dependsOnCharacterData: true, |
- *getSelectors(prefix, subtree, stylesheet) |
+ *getSelectors(prefix, subtree, styles) |
{ |
- for (let element of this.getElements(prefix, subtree, stylesheet)) |
+ for (let element of this.getElements(prefix, subtree, styles)) |
yield [makeSelector(element, ""), subtree]; |
}, |
- *getElements(prefix, subtree, stylesheet) |
+ *getElements(prefix, subtree, styles) |
{ |
let actualPrefix = (!prefix || incompletePrefixRegexp.test(prefix)) ? |
prefix + "*" : prefix; |
let elements = scopedQuerySelectorAll(subtree, actualPrefix); |
if (elements) |
{ |
for (let element of elements) |