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