xhr.http.html (1669B)
1 <!DOCTYPE html> 2 <!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec referrer-policy/4K-1/` --> 3 <html> 4 <head> 5 <meta charset="utf-8"> 6 <meta name="timeout" content="long"> 7 <meta name="referrer" content="same-origin"> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/common/security-features/resources/common.sub.js"></script> 11 <script src="../../../../generic/test-case.sub.js"></script> 12 <script src="../../../generic/test-case.sub.js"></script> 13 </head> 14 <body> 15 <script> 16 TestCase( 17 [ 18 { 19 "expectation": "stripped-referrer", 20 "origin": "same-http", 21 "redirection": "keep-origin", 22 "source_context_list": [], 23 "source_scheme": "http", 24 "subresource": "xhr", 25 "subresource_policy_deliveries": [], 26 "test_description": "Referrer Policy: Expects stripped-referrer for xhr to same-http origin and keep-origin redirection from http context." 27 }, 28 { 29 "expectation": "stripped-referrer", 30 "origin": "same-http", 31 "redirection": "no-redirect", 32 "source_context_list": [], 33 "source_scheme": "http", 34 "subresource": "xhr", 35 "subresource_policy_deliveries": [], 36 "test_description": "Referrer Policy: Expects stripped-referrer for xhr to same-http origin and no-redirect redirection from http context." 37 } 38 ], 39 new SanityChecker() 40 ).start(); 41 </script> 42 <div id="log"></div> 43 </body> 44 </html>