Index: test/elemHide.js |
=================================================================== |
--- a/test/elemHide.js |
+++ b/test/elemHide.js |
@@ -175,16 +175,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, "foo.com.", ["hello", "specific", "world"]); |
+ testResult(test, "example.com", [], true); |
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); |