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

Side by Side Diff: LayoutTests/media/video-currentTime-set2-expected.txt

Issue 261783009: Use [TypeChecking=Unrestricted] for HTMLMediaElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
OLDNEW
1 EVENT(canplaythrough) 1 EVENT(canplaythrough)
2 TEST(video.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'curren tTime' property on 'HTMLMediaElement': The value provided is infinite.") OK 2 TEST(video.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'curren tTime' property on 'HTMLMediaElement': The provided double value is non-finite." ) OK
3 TEST(video.currentTime = Infinity) THROWS("TypeError: Failed to set the 'current Time' property on 'HTMLMediaElement': The value provided is infinite.") OK 3 TEST(video.currentTime = Infinity) THROWS("TypeError: Failed to set the 'current Time' property on 'HTMLMediaElement': The provided double value is non-finite.") OK
4 TEST(video.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The value provided is not a number.") OK 4 TEST(video.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.") OK
5 EXPECTED (video.currentTime.toFixed(1) == '1.5') OK 5 EXPECTED (video.currentTime.toFixed(1) == '1.5') OK
6 EXPECTED (video.currentTime.toFixed(1) == '3.1') OK 6 EXPECTED (video.currentTime.toFixed(1) == '3.1') OK
7 END OF TEST 7 END OF TEST
8 8
OLDNEW
« no previous file with comments | « LayoutTests/media/video-currentTime-set2.html ('k') | LayoutTests/media/video-playbackrate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698