feature-policy.https.html (892B)
1 <html> 2 <body> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <script src="/common/get-host-info.sub.js"></script> 6 <script src="/client-hints/resources/export.js"></script> 7 <script src="/client-hints/resources/feature-policy-navigation.js"></script> 8 <script> 9 (async () => { 10 await test_frame( 11 "HTTPS_REMOTE_ORIGIN", 12 cross_origin_client_hints, 13 "", 14 "Client hints loaded on cross-origin iframe request with feature policy."); 15 await test_frame( 16 "HTTPS_ORIGIN", 17 same_origin_client_hints, 18 "", 19 "Client hints loaded on same-origin iframe request with feature policy."); 20 await test_frame( 21 "HTTPS_REMOTE_ORIGIN", 22 cross_origin_client_hints, 23 "", 24 "Client hints loaded on cross-origin iframe request with feature policy after attempting to set independently."); 25 })(); 26 27 </script> 28 </body> 29 </html>