sharedworker-classic.https.html (2133B)
1 <!DOCTYPE html> 2 <!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` --> 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": "allowed", 18 "origin": "same-http-downgrade", 19 "redirection": "downgrade", 20 "source_context_list": [], 21 "source_scheme": "https", 22 "subresource": "sharedworker-classic", 23 "subresource_policy_deliveries": [], 24 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-http-downgrade origin and downgrade redirection from https context." 25 }, 26 { 27 "expectation": "allowed", 28 "origin": "same-http-downgrade", 29 "redirection": "no-redirect", 30 "source_context_list": [], 31 "source_scheme": "https", 32 "subresource": "sharedworker-classic", 33 "subresource_policy_deliveries": [], 34 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-http-downgrade origin and no-redirect redirection from https context." 35 }, 36 { 37 "expectation": "allowed", 38 "origin": "same-https", 39 "redirection": "downgrade", 40 "source_context_list": [], 41 "source_scheme": "https", 42 "subresource": "sharedworker-classic", 43 "subresource_policy_deliveries": [], 44 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-https origin and downgrade redirection from https context." 45 } 46 ], 47 new SanityChecker() 48 ).start(); 49 </script> 50 <div id="log"></div> 51 </body> 52 </html>