Index: chrome/content/tests/regexpFilters_matching.js |
=================================================================== |
--- a/chrome/content/tests/regexpFilters_matching.js |
+++ b/chrome/content/tests/regexpFilters_matching.js |
@@ -288,18 +288,18 @@ |
testMatch("abc$domain=foo.com,sitekey=foo-publickey", "http://abc/def", "IMAGE", "bar.com", true, "foo-publickey", false); |
testMatch("abc$domain=~foo.com,sitekey=foo-publickey", "http://abc/def", "IMAGE", "foo.com", true, "foo-publickey", false); |
testMatch("abc$domain=~foo.com,sitekey=foo-publickey", "http://abc/def", "IMAGE", "bar.com", true, "foo-publickey", true); |
}); |
test("Exception rules", function() |
{ |
testMatch("@@test", "http://test/", "DOCUMENT", null, false, null, false); |
- testMatch("@@http://test*", "http://test/", "DOCUMENT", null, false, null, true); |
- testMatch("@@ftp://test*", "ftp://test/", "DOCUMENT", null, false, null, true); |
+ testMatch("@@http://test*", "http://test/", "DOCUMENT", null, false, null, false); |
+ testMatch("@@ftp://test*", "ftp://test/", "DOCUMENT", null, false, null, false); |
testMatch("@@test$document", "http://test/", "DOCUMENT", null, false, null, true); |
testMatch("@@test$document,image", "http://test/", "DOCUMENT", null, false, null, true); |
testMatch("@@test$~image", "http://test/", "DOCUMENT", null, false, null, false); |
testMatch("@@test$~image,document", "http://test/", "DOCUMENT", null, false, null, true); |
testMatch("@@test$document,~image", "http://test/", "DOCUMENT", null, false, null, true); |
testMatch("@@test$document,domain=foo.com", "http://test/", "DOCUMENT", "foo.com", false, null, true); |
testMatch("@@test$document,domain=foo.com", "http://test/", "DOCUMENT", "bar.com", false, null, false); |
testMatch("@@test$document,domain=~foo.com", "http://test/", "DOCUMENT", "foo.com", false, null, false); |