permissions-policy-focus-without-user-activation.html (297B)
1 <!doctype html> 2 <script> 3 'use strict'; 4 function post_result(enabled) { 5 parent.postMessage({ type: 'availability-result', enabled }, "*"); 6 } 7 8 window.onload = function () { 9 post_result(document.featurePolicy.allowedFeatures().includes("focus-without-user-activation")); 10 } 11 </script>