sharedworker-classic.http.html (1836B)
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 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharnessreport.js"></script> 9 <script src="/common/security-features/resources/common.sub.js"></script> 10 <script src="../../../generic/test-case.sub.js"></script> 11 </head> 12 <body> 13 <script> 14 TestCase( 15 [ 16 { 17 "expectation": "origin", 18 "origin": "same-http", 19 "redirection": "keep-origin", 20 "source_context_list": [ 21 { 22 "policyDeliveries": [], 23 "sourceContextType": "srcdoc" 24 } 25 ], 26 "source_scheme": "http", 27 "subresource": "sharedworker-classic", 28 "subresource_policy_deliveries": [], 29 "test_description": "Referrer Policy: Expects origin for sharedworker-classic to same-http origin and keep-origin redirection from http context." 30 }, 31 { 32 "expectation": "origin", 33 "origin": "same-http", 34 "redirection": "no-redirect", 35 "source_context_list": [ 36 { 37 "policyDeliveries": [], 38 "sourceContextType": "srcdoc" 39 } 40 ], 41 "source_scheme": "http", 42 "subresource": "sharedworker-classic", 43 "subresource_policy_deliveries": [], 44 "test_description": "Referrer Policy: Expects origin for sharedworker-classic to same-http origin and no-redirect redirection from http context." 45 } 46 ], 47 new SanityChecker() 48 ).start(); 49 </script> 50 <div id="log"></div> 51 </body> 52 </html>