Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: chrome/test/data/prerender/prerender_html5_video_network.html

Issue 8095007: Defer loading of audio/video tags while prerendering. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixing test for release build. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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>
9
10 <body>
11 <video id="mediaEl" controls>
12 </video>
13
14 <script>
15 var willPlay = true;
16 var testNetworkEvents = true;
17 </script>
18
19 <script src="prerender_html5_common.js"></script>
20
21 <script>
22 mediaEl.src = 'bear.ogv'
23 mediaEl.play();
24 </script>
25
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/prerender/prerender_html5_video.html ('k') | chrome/test/data/prerender/prerender_html5_video_script.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698