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

Side by Side Diff: chrome/test/data/prerender/prerender_html5_audio.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 comment. 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
1 <html> 1 <html>
2 <!-- 2 <!--
3 This test checks that prerender is cancelled when an audio tag is 3 This test checks that audio tags are deferred during prerendering.
4 encountered.
5 --> 4 -->
6 <head> 5 <head>
7 <title>Prerender cancellation for HTML5 audio.</title> 6 <title>Prerender for HTML5 audio.</title>
8 </head> 7 </head>
9 <body> 8
10 <audio controls="controls" autoplay="autoplay"> 9 <body>
11 <source src="nonexistant.wav" type="audio/wav" /> 10 <audio id="mediaEl" src="bear.wav" controls>
dominich 2011/11/14 19:40:35 has this .wav been committed already?
Shishir 2011/11/14 19:51:53 Yes. CL: 8505038
12 </audio> 11 </audio>
13 </body> 12
13 <script>
14 var willPlay = false;
15 </script>
16
17 <script src="prerender_html5_common.js"></script>
18
19 </body>
14 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698