Index: test/abp2blocklist.js |
=================================================================== |
--- a/test/abp2blocklist.js |
+++ b/test/abp2blocklist.js |
@@ -271,14 +271,16 @@ |
test.done(); |
}, |
testUnicode: function(test) |
{ |
testRules(test, ["$domain=🐈.cat"], ["*xn--zn8h.cat"], |
rules => rules[0]["trigger"]["if-domain"]); |
- testRules(test, ["🐈$domain=🐈.cat"], []); |
- testRules(test, ["###🐈"], []); |
+ testRules(test, ["🐈$domain=🐈.cat"], "^https?://.*🐈", |
Manish Jethani
2017/06/19 16:12:16
I'll update this further in 29468575.
|
+ rules => rules[0]["trigger"]["url-filter"]); |
+ testRules(test, ["###🐈"], "[id=🐈]", |
+ rules => rules[0]["action"]["selector"]); |
test.done(); |
} |
}; |