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

Unified Diff: chrome/content/tests/regexpFilters_matching.js

Issue 29333048: Issue 3452 - Bring back $ping type option (test changes) (Closed)
Patch Set: Created Dec. 23, 2015, 1:05 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 | « chrome/content/tests/policy.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/regexpFilters_matching.js
===================================================================
--- a/chrome/content/tests/regexpFilters_matching.js
+++ b/chrome/content/tests/regexpFilters_matching.js
@@ -116,16 +116,20 @@
testMatch("abc$media", "http://abc/adf", "IMAGE", null, false, null, false);
testMatch("abc$media", "http://abc/adf", "MEDIA", null, false, null, true);
testMatch("abc$~media", "http://abc/adf", "MEDIA", null, false, null, false);
testMatch("abc$font", "http://abc/adf", "IMAGE", null, false, null, false);
testMatch("abc$font", "http://abc/adf", "FONT", null, false, null, true);
testMatch("abc$~font", "http://abc/adf", "FONT", null, false, null, false);
+ testMatch("abc$ping", "http://abc/adf", "IMAGE", null, false, null, false);
+ testMatch("abc$ping", "http://abc/adf", "PING", null, false, null, true);
+ testMatch("abc$~ping", "http://abc/adf", "PING", null, false, null, false);
+
testMatch("abc$image,script", "http://abc/adf", "IMAGE", null, false, null, true);
testMatch("abc$~image", "http://abc/adf", "IMAGE", null, false, null, false);
testMatch("abc$~script", "http://abc/adf", "IMAGE", null, false, null, true);
testMatch("abc$~image,~script", "http://abc/adf", "IMAGE", null, false, null, false);
testMatch("abc$~script,~image", "http://abc/adf", "IMAGE", null, false, null, false);
testMatch("abc$~document,~script,~other", "http://abc/adf", "IMAGE", null, false, null, true);
testMatch("abc$~image,image", "http://abc/adf", "IMAGE", null, false, null, true);
testMatch("abc$image,~image", "http://abc/adf", "IMAGE", null, false, null, false);
« no previous file with comments | « chrome/content/tests/policy.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld