Index: test/elemHide.js |
=================================================================== |
--- a/test/elemHide.js |
+++ b/test/elemHide.js |
@@ -174,16 +174,17 @@ |
// Test criteria |
addFilter("##hello"); |
addFilter("~example.com##world"); |
addFilter("foo.com##specific"); |
testResult(test, "foo.com", ["specific"], true); |
testResult(test, "foo.com", ["hello", "specific", "world"], false); |
testResult(test, "foo.com", ["hello", "specific", "world"]); |
+ testResult(test, "example.com", [], true); |
Manish Jethani
2018/05/26 00:26:33
Surely the purpose of adding the filter ~example.c
|
removeFilter("foo.com##specific"); |
removeFilter("~example.com##world"); |
removeFilter("##hello"); |
testResult(test, "foo.com", []); |
addFilter("##hello"); |
testResult(test, "foo.com", [], true); |
testResult(test, "foo.com", ["hello"], false); |