Index: test/filterListener.js |
=================================================================== |
--- a/test/filterListener.js |
+++ b/test/filterListener.js |
@@ -85,23 +85,23 @@ |
let elemHideExceptions = sandboxedRequire("../lib/elemHideExceptions"); |
result.elemhideexception = []; |
for (let exception of elemHideExceptions.knownExceptions) |
result.elemhideexception.push(exception.text); |
let elemHideEmulation = sandboxedRequire("../lib/elemHideEmulation"); |
result.elemhideemulation = []; |
- for (let filterText of elemHideEmulation.filters) |
- result.elemhideemulation.push(filterText); |
+ for (let filter of elemHideEmulation.filters) |
+ result.elemhideemulation.push(filter.text); |
let snippets = sandboxedRequire("../lib/snippets"); |
result.snippets = []; |
- for (let filterText of snippets.filters) |
- result.snippets.push(filterText); |
+ for (let filter of snippets.filters) |
+ result.snippets.push(filter.text); |
let types = ["blacklist", "whitelist", "elemhide", "elemhideexception", |
"elemhideemulation", "snippets"]; |
for (let type of types) |
{ |
if (!(type in expected)) |
expected[type] = []; |
else |