sharedworker-import-data.https.html (4552B)
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 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 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": "allowed", 19 "origin": "cross-http-downgrade", 20 "redirection": "downgrade", 21 "source_context_list": [ 22 { 23 "policyDeliveries": [], 24 "sourceContextType": "srcdoc" 25 } 26 ], 27 "source_scheme": "https", 28 "subresource": "sharedworker-import-data", 29 "subresource_policy_deliveries": [], 30 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-http-downgrade origin and downgrade redirection from https context." 31 }, 32 { 33 "expectation": "allowed", 34 "origin": "cross-http-downgrade", 35 "redirection": "no-redirect", 36 "source_context_list": [ 37 { 38 "policyDeliveries": [], 39 "sourceContextType": "srcdoc" 40 } 41 ], 42 "source_scheme": "https", 43 "subresource": "sharedworker-import-data", 44 "subresource_policy_deliveries": [], 45 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-http-downgrade origin and no-redirect redirection from https context." 46 }, 47 { 48 "expectation": "allowed", 49 "origin": "cross-https", 50 "redirection": "downgrade", 51 "source_context_list": [ 52 { 53 "policyDeliveries": [], 54 "sourceContextType": "srcdoc" 55 } 56 ], 57 "source_scheme": "https", 58 "subresource": "sharedworker-import-data", 59 "subresource_policy_deliveries": [], 60 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-https origin and downgrade redirection from https context." 61 }, 62 { 63 "expectation": "allowed", 64 "origin": "same-http-downgrade", 65 "redirection": "downgrade", 66 "source_context_list": [ 67 { 68 "policyDeliveries": [], 69 "sourceContextType": "srcdoc" 70 } 71 ], 72 "source_scheme": "https", 73 "subresource": "sharedworker-import-data", 74 "subresource_policy_deliveries": [], 75 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-http-downgrade origin and downgrade redirection from https context." 76 }, 77 { 78 "expectation": "allowed", 79 "origin": "same-http-downgrade", 80 "redirection": "no-redirect", 81 "source_context_list": [ 82 { 83 "policyDeliveries": [], 84 "sourceContextType": "srcdoc" 85 } 86 ], 87 "source_scheme": "https", 88 "subresource": "sharedworker-import-data", 89 "subresource_policy_deliveries": [], 90 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-http-downgrade origin and no-redirect redirection from https context." 91 }, 92 { 93 "expectation": "allowed", 94 "origin": "same-https", 95 "redirection": "downgrade", 96 "source_context_list": [ 97 { 98 "policyDeliveries": [], 99 "sourceContextType": "srcdoc" 100 } 101 ], 102 "source_scheme": "https", 103 "subresource": "sharedworker-import-data", 104 "subresource_policy_deliveries": [], 105 "test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-https origin and downgrade redirection from https context." 106 } 107 ], 108 new SanityChecker() 109 ).start(); 110 </script> 111 <div id="log"></div> 112 </body> 113 </html>