Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/template/test.js.template

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/template/test.js.template
diff --git a/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/template/test.js.template b/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/template/test.js.template
new file mode 100644
index 0000000000000000000000000000000000000000..4b01d4d113a8d3a2e8313dc822b8f8dcad21c5f5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/template/test.js.template
@@ -0,0 +1,15 @@
+ReferrerPolicyTestCase(
+ {
+ "referrer_policy": %(referrer_policy_json)s,
+ "delivery_method": "%(delivery_method)s",
+ "redirection": "%(redirection)s",
+ "origin": "%(origin)s",
+ "source_protocol": "%(source_protocol)s",
+ "target_protocol": "%(target_protocol)s",
+ "subresource": "%(subresource)s",
+ "subresource_path": "%(subresource_path)s",
+ "referrer_url": "%(referrer_url)s"
+ },
+ document.querySelector("meta[name=assert]").content,
+ new SanityChecker()
+).start();

Powered by Google App Engine
This is Rietveld 408576698