summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/permissions-policy/resources/nested-sandbox.html
blob: 4ba512140dae5d9df8d1b1bd19178a34ff5b40c0 (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<title>Return fullscreen permissions policy state</title>
<script>
  "use strict";
  window.onload = () => {
    window.parent.postMessage(document.featurePolicy.allowedFeatures().includes("fullscreen"),"*");
  };
</script>