<!DOCTYPE html>
<title>Test document user gesture autoplay policy across navigation after clicking</title>
<body>
<div id='target'>target</div>
</body>
<script>
testRunner.waitUntilDone();
internals.settings.setAutoplayPolicy('document-user-activation-required');
internals.runtimeFlags.autoplayIgnoresWebAudioEnabled = false;
eventSender.mouseDown();
document.location.href = 'resources/test-autoplay.html';
</script>