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

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

Issue 8095007: Defer loading of audio/video tags while prerendering. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressing Dominic's comments. 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 autoplay is set.
6 -->
7 <head>
8 <title>Prerender for HTML5 audio.</title>
9 </head>
10
11 <body>
12 <audio id="mediaEl" src="bear.wav" controls autoplay>
13 </audio>
14
15 <script>
16 var willPlay = true;
17 </script>
18
19 <script src="prerender_html5_common.js"></script>
20
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698