Index: test/domainRestrictions.js |
=================================================================== |
--- a/test/domainRestrictions.js |
+++ b/test/domainRestrictions.js |
@@ -65,32 +65,32 @@ |
}; |
exports.testDomainRestrictedBlockingFilters = function(test) |
{ |
testActive(test, "foo$domain=example.com", null, false, false); |
testActive(test, "foo$domain=example.com", "com", false, true); |
testActive(test, "foo$domain=example.com", "example.com", true, true); |
testActive(test, "foo$domain=example.com", "example.com.", true, true); |
- testActive(test, "foo$domain=example.com.", "example.com", true, true); |
- testActive(test, "foo$domain=example.com.", "example.com.", true, true); |
+ testActive(test, "foo$domain=example.com.", "example.com", false, false); |
+ testActive(test, "foo$domain=example.com.", "example.com.", false, false); |
testActive(test, "foo$domain=example.com", "foo.example.com", true, false); |
testActive(test, "foo$domain=example.com", "mple.com", false, false); |
test.done(); |
}; |
exports.testDomainRestrictedHidingRules = function(test) |
{ |
testActive(test, "example.com##foo", null, false, false); |
testActive(test, "example.com##foo", "com", false, true); |
testActive(test, "example.com##foo", "example.com", true, true); |
- testActive(test, "example.com##foo", "example.com.", false, false); |
+ testActive(test, "example.com##foo", "example.com.", true, true); |
testActive(test, "example.com.##foo", "example.com", false, false); |
- testActive(test, "example.com.##foo", "example.com.", true, true); |
+ testActive(test, "example.com.##foo", "example.com.", false, false); |
testActive(test, "example.com##foo", "foo.example.com", true, false); |
testActive(test, "example.com##foo", "mple.com", false, false); |
test.done(); |
}; |
exports.testBlockingFiltersRestrictedToDomainAndItsSubdomain = function(test) |
{ |
@@ -104,17 +104,17 @@ |
test.done(); |
}; |
exports.testHidingRulesRestrictedToDomainAndItsSubdomain = function(test) |
{ |
testActive(test, "example.com,foo.example.com##foo", null, false, false); |
testActive(test, "example.com,foo.example.com##foo", "com", false, true); |
testActive(test, "example.com,foo.example.com##foo", "example.com", true, true); |
- testActive(test, "example.com,foo.example.com##foo", "example.com.", false, false); |
+ testActive(test, "example.com,foo.example.com##foo", "example.com.", true, true); |
testActive(test, "example.com,foo.example.com##foo", "foo.example.com", true, false); |
testActive(test, "example.com,foo.example.com##foo", "mple.com", false, false); |
test.done(); |
}; |
exports.testBlockingFiltersWithExceptionForASubdomain = function(test) |
{ |
@@ -152,17 +152,17 @@ |
test.done(); |
}; |
exports.testHidingRulesForDomainButNotItsSubdomain = function(test) |
{ |
testActive(test, "example.com,~foo.example.com##foo", null, false, false); |
testActive(test, "example.com,~foo.example.com##foo", "com", false, true); |
testActive(test, "example.com,~foo.example.com##foo", "example.com", true, true); |
- testActive(test, "example.com,~foo.example.com##foo", "example.com.", false, false); |
+ testActive(test, "example.com,~foo.example.com##foo", "example.com.", true, true); |
testActive(test, "example.com,~foo.example.com##foo", "foo.example.com", false, false); |
testActive(test, "example.com,~foo.example.com##foo", "mple.com", false, false); |
test.done(); |
}; |
exports.testBlockingFiltersForDomainButNotItsTLD = function(test) |
{ |
@@ -176,17 +176,17 @@ |
test.done(); |
}; |
exports.testHidingRulesForDomainButNotItsTLD = function(test) |
{ |
testActive(test, "example.com,~com##foo", null, false, false); |
testActive(test, "example.com,~com##foo", "com", false, true); |
testActive(test, "example.com,~com##foo", "example.com", true, true); |
- testActive(test, "example.com,~com##foo", "example.com.", false, false); |
+ testActive(test, "example.com,~com##foo", "example.com.", true, true); |
testActive(test, "example.com,~com##foo", "foo.example.com", true, false); |
testActive(test, "example.com,~com##foo", "mple.com", false, false); |
test.done(); |
}; |
exports.testBlockingFiltersRestrictedToAnUnrelatedDomain = function(test) |
{ |