permissions-policy-header-scheme-only.https.sub.html (454B)
1 <!DOCTYPE html> 2 <body> 3 <script src=/resources/testharness.js></script> 4 <script src=/resources/testharnessreport.js></script> 5 <script> 6 test(function() { 7 var wildcard_origin = 'https:'; 8 assert_array_equals( 9 document.featurePolicy.getAllowlistForFeature('fullscreen'), 10 [wildcard_origin]); 11 assert_true(document.featurePolicy.allowsFeature('fullscreen')); 12 }, 'Test scheme only policy works as expected'); 13 </script> 14 </body>