Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_html5_audio_jsplay.html
blob91aaab70d018c4396323f020a4446b4cbb0dc3c6
1 <html>
2 <!--
3 This test checks that:
4 - Audio tags are deferred during prerendering.
5 - The audio starts playing on page swap in when it has been played by js.
6 -->
7 <head>
8 <title>Prerender for HTML5 audio.</title>
9 </head>
11 <body>
12 <audio id="mediaEl" src="bear.wav" controls>
13 </audio>
15 <script>
16 var willPlay = true;
17 var testNetworkEvents = false;
18 </script>
20 <script src="prerender_html5_common.js"></script>
22 <script>
23 document.getElementById("mediaEl").play();
24 </script>
26 </body>
27 </html>