diff options
Diffstat (limited to 'testing/web-platform/tests/referrer-policy/generic/template/test.js.template')
-rw-r--r-- | testing/web-platform/tests/referrer-policy/generic/template/test.js.template | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/referrer-policy/generic/template/test.js.template b/testing/web-platform/tests/referrer-policy/generic/template/test.js.template new file mode 100644 index 000000000..4b01d4d11 --- /dev/null +++ b/testing/web-platform/tests/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(); |