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

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 // Issue a bunch of seeks in a row, with some overlap.
5 var seekCount = 0;
6 function seeked() {
7 var a = document.querySelector('audio');
8 a.currentTime = Math.random() * a.duration;
9 ++seekCount;
10 window.setTimeout(seeked, 1);
11 }
12 </script>
13 </head>
14 <body>
15 Test that rapid seeking fails to crash the browser.
16
17 <audio controls autoplay loop src="bear.wav" onseeked="seeked()"></audio>
18 </body>
19 </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