| Index: test/elemHide.js |
| =================================================================== |
| --- a/test/elemHide.js |
| +++ b/test/elemHide.js |
| @@ -53,17 +53,17 @@ |
| }); |
| } |
| function testResult(test, domain, expectedSelectors, specificOnly) |
| { |
| let normalizedExpectedSelectors = normalizeSelectors(expectedSelectors); |
| let {code, selectors} = |
| - ElemHide.generateStyleSheetForDomain(domain, specificOnly); |
| + ElemHide.generateStyleSheetForDomain(domain, specificOnly, true); |
| test.deepEqual(normalizeSelectors(selectors), normalizedExpectedSelectors); |
| // Make sure each expected selector is in the actual CSS code. |
| for (let selector of normalizedExpectedSelectors) |
| { |
| test.ok(code.includes(selector + ", ") || |
| code.includes(selector + " {display: none !important;}\n")); |