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

Unified Diff: test/elemHide.js

Issue 29356018: Issue 4450 - Prevent ElemHide filters with empty domains (Closed)
Patch Set: Created Oct. 5, 2016, 2:24 p.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
Index: test/elemHide.js
diff --git a/test/elemHide.js b/test/elemHide.js
index 89d596dc3a0b6d900f41112d4cdd37dfe821aa67..78b274b6c2e647041502115d7943d6fadac632d1 100644
--- a/test/elemHide.js
+++ b/test/elemHide.js
@@ -241,21 +241,5 @@ exports.testGetSelectorsForDomain = function(test)
removeFilter("foo.com##hello");
testResult("foo.com", []);
- // Advanced filter keys test
- testResult("", []);
- addFilter("##dupe");
- addFilter(",,##dupe");
- addFilter(",,,##dupe");
- addFilter("foo.com##dupe");
- testResult("", ["dupe"]);
- removeFilter(",,,##dupe");
- testResult("", ["dupe"]);
- removeFilter("foo.com##dupe");
- testResult("", ["dupe"]);
- removeFilter(",,##dupe");
- testResult("", ["dupe"]);
- removeFilter("##dupe");
- testResult("", []);
-
test.done();
};

Powered by Google App Engine
This is Rietveld