Index: test/elemHideEmulation.js |
diff --git a/test/elemHideEmulation.js b/test/elemHideEmulation.js |
index 342be885e12fb631956759f9d82dfce667340eeb..aef3da5d47355c58a4753d457a586f004582e453 100644 |
--- a/test/elemHideEmulation.js |
+++ b/test/elemHideEmulation.js |
@@ -17,7 +17,7 @@ |
"use strict"; |
-let {createSandbox} = require("./_common"); |
+const {createSandbox} = require("./_common"); |
let ElemHideEmulationFilter = null; |
let ElemHideEmulation = null; |
@@ -68,15 +68,15 @@ exports.testDomainRestrictions = function(test) |
testSelectorMatches( |
"Ignore selectors with exceptions", |
["example.com##[-abp-properties='foo']", |
- "example.com##[-abp-properties='bar']", |
- "example.com#@#[-abp-properties='foo']"], |
- "example.com", |
+ "example.com##[-abp-properties='bar']", |
+ "example.com#@#[-abp-properties='foo']"], |
+ "example.com", |
["example.com##[-abp-properties='bar']"] |
); |
testSelectorMatches( |
"Ignore filters that include parent domain but exclude subdomain", |
["~www.example.com,example.com##[-abp-properties='foo']"], |
- "www.example.com", |
+ "www.example.com", |
[] |
); |
testSelectorMatches( |
@@ -89,8 +89,8 @@ exports.testDomainRestrictions = function(test) |
testSelectorMatches( |
"Ignore filters for other subdomain", |
["www.example.com##[-abp-properties='foo']", |
- "other.example.com##[-abp-properties='foo']"], |
- "other.example.com", |
+ "other.example.com##[-abp-properties='foo']"], |
+ "other.example.com", |
["other.example.com##[-abp-properties='foo']"] |
); |