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

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

Issue 217053009: Validate finiteness of HTMLMediaElement properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add more FIXMEs. Created 6 years, 8 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
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
3 TEST(video.currentTime = Infinity) THROWS("TypeError: Failed to set the 'current Time' property on 'HTMLMediaElement': The value provided is infinite.") OK
4 TEST(video.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The value provided is not a number.") OK
2 EXPECTED (video.currentTime.toFixed(1) == '1.5') OK 5 EXPECTED (video.currentTime.toFixed(1) == '1.5') OK
3 EXPECTED (video.currentTime.toFixed(1) == '3.1') OK 6 EXPECTED (video.currentTime.toFixed(1) == '3.1') OK
4 END OF TEST 7 END OF TEST
5 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