<!DOCTYPE html>
<html>
<title>Test that autoplay is still disabled if there is no gesture, but autoplay is switched on.</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/autoplay-test.js"></script>
<!-- This is a cross origin iframe with a same origin child with allow="autoplay" -->
<iframe allow="autoplay"></iframe>
<script>
runTest(simulateNoGesture, [
['http://127.0.0.1:8000/media/autoplay/document-user-activation-feature-policy-iframe-no-gesture.html', false],
['http://localhost:8000/media/autoplay/resources/nested-iframe-1a.html', false],
['http://127.0.0.1:8000/media/autoplay/resources/nested-iframe-2.html', false]
]);
</script>
</html>