Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_html5_video_script.html
blobf144837bb2dcb4e2b07996ada89393e4b61c6b6f
1 <html>
2 <!--
3 This test checks that video tags created by javascript are are deferred
4 during prerendering and the autoplay is enabled during swap ins.
5 -->
6 <head>
7 <title>Prerender for HTML5 video.</title>
8 </head>
10 <body>
11 <div id="vid">
12 </div>
14 <script>
15 var videoTag = document.createElement("video");
16 videoTag.src = "bear.ogv"
17 videoTag.id = "mediaEl";
18 var element = document.getElementById("vid");
19 element.appendChild(videoTag);
21 var willPlay = true;
22 var testNetworkEvents = false;
23 </script>
25 <script src="prerender_html5_common.js"></script>
27 <script>
28 document.getElementById("mediaEl").play();
29 </script>
31 </body>
32 </html>