worker-classic.http.html (1900B)
1 <!DOCTYPE html> 2 <!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec referrer-policy/` --> 3 <html> 4 <head> 5 <meta charset="utf-8"> 6 <meta name="timeout" content="long"> 7 <meta name="referrer" content="always"> 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 </head> 13 <body> 14 <script> 15 TestCase( 16 [ 17 { 18 "expectation": "stripped-referrer", 19 "origin": "same-http", 20 "redirection": "keep-origin", 21 "source_context_list": [ 22 { 23 "policyDeliveries": [], 24 "sourceContextType": "srcdoc" 25 } 26 ], 27 "source_scheme": "http", 28 "subresource": "worker-classic", 29 "subresource_policy_deliveries": [], 30 "test_description": "Referrer Policy: Expects stripped-referrer for worker-classic to same-http origin and keep-origin redirection from http context." 31 }, 32 { 33 "expectation": "stripped-referrer", 34 "origin": "same-http", 35 "redirection": "no-redirect", 36 "source_context_list": [ 37 { 38 "policyDeliveries": [], 39 "sourceContextType": "srcdoc" 40 } 41 ], 42 "source_scheme": "http", 43 "subresource": "worker-classic", 44 "subresource_policy_deliveries": [], 45 "test_description": "Referrer Policy: Expects stripped-referrer for worker-classic to same-http origin and no-redirect redirection from http context." 46 } 47 ], 48 new SanityChecker() 49 ).start(); 50 </script> 51 <div id="log"></div> 52 </body> 53 </html>