opaque-origin-history1.sub.https.html (430B)
1 <script> 2 window.addEventListener('message', e => { 3 if (e.data == 'redirect') { 4 location.assign( 5 "https://{{domains[]}}:{{location[port]}}/permissions-policy/resources/opaque-origin-history2.https.html"); 6 } 7 }); 8 9 parent.postMessage( 10 document.fullscreenEnabled ? 11 'fullscreen enabled in opaque-origin-history1.html' : 12 'fullscreen disabled in opaque-origin-history1.html', 13 '*' 14 ); 15 </script>