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

Unified Diff: test/regexpFilters_matching.js

Issue 29401571: Issue 5086 - Add webrtc request type (Closed)
Patch Set: Steal unit tests from emscripten branch Created April 7, 2017, 10:08 a.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 | « lib/filterClasses.js ('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
diff --git a/test/regexpFilters_matching.js b/test/regexpFilters_matching.js
index 4246d7cb7463bf5c8a342ef690034c404f04de76..1f56bd16fe81810cadc6a68089e52b5718f37f4f 100644
--- a/test/regexpFilters_matching.js
+++ b/test/regexpFilters_matching.js
@@ -133,6 +133,12 @@ exports.testTypeOptions = function(test)
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);
« no previous file with comments | « lib/filterClasses.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld