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

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

Issue 8418031: Regression tests for two recently-fixed audio-related crashers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 <head>
3 <script>
4
scherkus (not reviewing) 2011/10/28 21:03:13 blank line
Ami GONE FROM CHROMIUM 2011/10/28 21:54:28 Done.
5 // Issue a bunch of seeks in a row, with some overlap.
6 var seekCount = 0;
7 function seeked() {
8 var a = document.querySelector('audio');
9 a.currentTime = Math.random() * a.duration;
scherkus (not reviewing) 2011/10/28 21:03:13 is this unseeded?
Ami GONE FROM CHROMIUM 2011/10/28 21:54:28 It is seeded randomly by current time. I don't th
10 ++seekCount;
11 window.setTimeout(seeked, 1);
12 }
13 </script>
14 </head>
15 <body>
16 Test that rapid seeking fails to crash the browser.
17
18 <audio controls autoplay loop src="bear.wav" onseeked="seeked()"></audio>
19 </body>
20 </html>
OLDNEW
« chrome/browser/media/media_browsertest.cc ('K') | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698