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

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

Issue 8095007: Defer loading of audio/video tags while prerendering. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Syncing with depot. Created 9 years, 1 month 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:
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>
10
11 <body>
12 <audio id="mediaEl" controls>
13 <source src="bear.wav" type="audio/wav" />
scherkus (not reviewing) 2011/11/08 06:21:06 nit: use ">" instead of "/>"
Shishir 2011/11/09 22:27:47 integrated src.
14 </audio>
15
16 <script>
17 var willPlay = true;
18 </script>
19
20 <script src="prerender_html5_common.js"></script>
21
22 <script>
23 document.getElementById("mediaEl").play();
24 </script>
25
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698