Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/regexpFilters_matching.js

Issue 29402586: Issue 5086 - Add webrtc connection type (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Fixed typo Created April 4, 2017, 1:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiled/filter/RegExpFilter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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", "WEBSOCKET", null, false, null, false);
+ 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);
« no previous file with comments | « compiled/filter/RegExpFilter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld