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: Addressed feedback Created Oct. 6, 2016, 8:50 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 | « lib/filterClasses.js ('k') | test/filterClasses.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
};
« no previous file with comments | « lib/filterClasses.js ('k') | test/filterClasses.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld