blob: d8bcae5cc8614170590990456e9cc19c840f3d3f [file] [log] [blame]
<!DOCTYPE html>
<html>
<title>Test that gestures are delegated automatically to same origin child frames.</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/autoplay-test.js"></script>
<!-- This is a same origin frame with a sub origin child frame with no allow attributes -->
<iframe></iframe>
<script>
runTest(simulateViewportClick, [
['http://127.0.0.1:8000/media/autoplay/document-user-activation-feature-policy-same-origin.html', true],
['http://127.0.0.1:8000/media/autoplay/resources/nested-iframe-1b.html', true],
['http://127.0.0.1:8000/media/autoplay/resources/nested-iframe-2.html', true]
]);
</script>
</html>