Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/elemHideEmulation.js

Issue 29375915: Issue 4878 - Start using ESLint for adblockpluscore (Closed)
Patch Set: Stop using commonjs, fix other problems Created Feb. 21, 2017, 5:12 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/elemHide.js ('k') | test/filterClasses.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/elemHideEmulation.js
diff --git a/test/elemHideEmulation.js b/test/elemHideEmulation.js
index 342be885e12fb631956759f9d82dfce667340eeb..4646cf179d474afba74343b9b8fc5c311cb47324 100644
--- a/test/elemHideEmulation.js
+++ b/test/elemHideEmulation.js
@@ -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']"]
);
« no previous file with comments | « test/elemHide.js ('k') | test/filterClasses.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld