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

Side by Side Diff: LayoutTests/media/media-controller-playback-expected.txt

Issue 265743010: Use [TypeChecking=Unrestricted] for MediaController (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 1
2 RUN(controller = video.controller) 2 RUN(controller = video.controller)
3 EVENT(canplaythrough) 3 EVENT(canplaythrough)
4 TEST(controller.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'c urrentTime' property on 'MediaController': The value provided is infinite.") OK 4 TEST(controller.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'c urrentTime' property on 'MediaController': The provided double value is non-fini te.") OK
5 TEST(controller.currentTime = Infinity) THROWS("TypeError: Failed to set the 'cu rrentTime' property on 'MediaController': The value provided is infinite.") OK 5 TEST(controller.currentTime = Infinity) THROWS("TypeError: Failed to set the 'cu rrentTime' property on 'MediaController': The provided double value is non-finit e.") OK
6 TEST(controller.currentTime = NaN) THROWS("TypeError: Failed to set the 'current Time' property on 'MediaController': The value provided is not a number.") OK 6 TEST(controller.currentTime = NaN) THROWS("TypeError: Failed to set the 'current Time' property on 'MediaController': The provided double value is non-finite.") OK
7 RUN(controller.play()) 7 RUN(controller.play())
8 EVENT(playing) 8 EVENT(playing)
9 EXPECTED (controller.paused == 'false') OK 9 EXPECTED (controller.paused == 'false') OK
10 RUN(controller.currentTime = 5) 10 RUN(controller.currentTime = 5)
11 EXPECTED (controller.currentTime == '5') OK 11 EXPECTED (controller.currentTime == '5') OK
12 EXPECTED (video.currentTime == '5') OK 12 EXPECTED (video.currentTime == '5') OK
13 EXPECTED (video2.currentTime == '5') OK 13 EXPECTED (video2.currentTime == '5') OK
14 EVENT(ended) 14 EVENT(ended)
15 END OF TEST 15 END OF TEST
16 16
OLDNEW
« no previous file with comments | « LayoutTests/media/media-controller-playback.html ('k') | LayoutTests/media/media-controller-playbackrate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698