default-enabled-features-unset.https.html (1145B)
1 <!DOCTYPE html> 2 <title>Test default permission policy features gating unset</title> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <script src="/common/utils.js"></script> 6 <script src="/common/dispatcher/dispatcher.js"></script> 7 <script src="resources/utils.js"></script> 8 <script src="/common/get-host-info.sub.js"></script> 9 <script src="resources/default-enabled-features-helper.js"></script> 10 11 <body> 12 <script> 13 promise_test(async(t) => { 14 await runDefaultEnabledFeaturesTest(t, /*should_load=*/true, 15 get_host_info().ORIGIN); 16 await runDefaultEnabledFeaturesTest(t, /*should_load=*/true, 17 get_host_info().ORIGIN, generator_api="sharedstorage"); 18 }, 'Same-origin fenced frame loads when feature policies are unset'); 19 20 promise_test(async(t) => { 21 await runDefaultEnabledFeaturesTest(t, /*should_load=*/true, 22 get_host_info().REMOTE_ORIGIN); 23 await runDefaultEnabledFeaturesTest(t, /*should_load=*/true, 24 get_host_info().REMOTE_ORIGIN, generator_api="sharedstorage"); 25 }, 'Cross-origin fenced frame loads when feature policies are unset'); 26 27 </script> 28 </body> 29 </html>