blob: 58b1267f6a9deedd2dc35879c7beffde430707fb [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 src="/media/autoplay/resources/nested-iframe-1b.html"></iframe>
<script>
simulateViewportClick();
runTest({
'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>