blob: 33c253f134c48ff3e060ba851551222fcde1c027 [file] [log] [blame]
<!DOCTYPE html>
<html>
<title>Test that gestures are delegated to child frames when the attribute is used.</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(simulateViewportClick, [
['http://127.0.0.1:8000/media/autoplay/document-user-activation-cross-origin-feature-policy-delegation.html', true],
['http://localhost:8000/media/autoplay/resources/nested-iframe-1a.html', true],
['http://127.0.0.1:8000/media/autoplay/resources/nested-iframe-2.html', true]
]);
</script>
</html>