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

Side by Side Diff: chrome/test/data/media/seek-jumper.html

Issue 9307004: Revert 119917 - Regression tests for two recently-fixed audio-related crashers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 // Issue a bunch of seeks in a row, with some overlap.
5 var seekCount = 0;
6 function seeked() {
7 if (++seekCount == 100)
8 document.title = 'Done'; // Signals completion to the C++ side.
9 var a = document.querySelector('audio');
10 a.currentTime = Math.random() * a.duration;
11 window.setTimeout(seeked, 1); // Overlaps the onseeked listener.
12 }
13 </script>
14 </head>
15 <body>
16 Test that rapid seeking fails to crash the browser.
17
18 <audio controls autoplay src="bear_pcm.wav"
19 onseeked="seeked()" onplaying="seeked()" onended="seeked()"></audio>
20 </body>
21 </html>
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698