Index: test/regexpFilters_matching.js |
=================================================================== |
--- a/test/regexpFilters_matching.js |
+++ b/test/regexpFilters_matching.js |
@@ -123,16 +123,22 @@ exports.testTypeOptions = function(test) |
testMatch(test, "abc$object", "http://abc/adf", "OBJECT", null, false, null, true); |
testMatch(test, "abc$~object", "http://abc/adf", "OBJECT", null, false, null, false); |
testMatch(test, "abc$document", "http://abc/adf", "IMAGE", null, false, null, false); |
testMatch(test, "abc$document", "http://abc/adf", "DOCUMENT", null, false, null, true); |
testMatch(test, "abc$~document", "http://abc/adf", "DOCUMENT", null, false, null, false); |
testMatch(test, "abc$subdocument", "http://abc/adf", "IMAGE", null, false, null, false); |
testMatch(test, "abc$subdocument", "http://abc/adf", "SUBDOCUMENT", null, false, null, true); |
testMatch(test, "abc$~subdocument", "http://abc/adf", "SUBDOCUMENT", null, false, null, false); |
+ testMatch(test, "abc$websocket", "http://abc/adf", "OBJECT", null, false, null, false); |
+ testMatch(test, "abc$websocket", "http://abc/adf", "WEBSOCKET", null, false, null, true); |
+ testMatch(test, "abc$~websocket", "http://abc/adf", "WEBSOCKT", null, false, null, false); |
sergei
2017/04/04 13:32:13
typo: I think E should not be missed here.
Wladimir Palant
2017/04/04 13:37:18
Why, the tests pass regardless :)
Fixed.
|
+ testMatch(test, "abc$webrtc", "http://abc/adf", "OBJECT", null, false, null, false); |
+ testMatch(test, "abc$webrtc", "http://abc/adf", "WEBRTC", null, false, null, true); |
+ testMatch(test, "abc$~webrtc", "http://abc/adf", "WEBRTC", null, false, null, false); |
testMatch(test, "abc$background", "http://abc/adf", "OBJECT", null, false, null, false); |
testMatch(test, "abc$background", "http://abc/adf", "IMAGE", null, false, null, true); |
testMatch(test, "abc$~background", "http://abc/adf", "IMAGE", null, false, null, false); |
testMatch(test, "abc$xbl", "http://abc/adf", "IMAGE", null, false, null, false); |
testMatch(test, "abc$xbl", "http://abc/adf", "XBL", null, false, null, true); |
testMatch(test, "abc$~xbl", "http://abc/adf", "XBL", null, false, null, false); |
testMatch(test, "abc$ping", "http://abc/adf", "IMAGE", null, false, null, false); |
testMatch(test, "abc$ping", "http://abc/adf", "PING", null, false, null, true); |