chromium/third_party/blink/web_tests/external/wpt/permissions-policy/resources/permissions-policy-autoplay.html

<script src="/common/media.js"></script>
<script src=/permissions-policy/resources/autoplay.js></script>
<script>
'use strict';

window.addEventListener('load', () => {
  isAutoplayAllowed().then((result) => {
    window.parent.postMessage({ enabled: result }, '*');
  });
}, { once: true });
</script>