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

Side by Side Diff: LayoutTests/media/track/track-mode-expected.txt

Issue 955413002: Log in Binding code for invalid enum type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 CONSOLE WARNING: The provided value 'bogus' is not a valid value of type 'TextTr ackMode'.
2 CONSOLE WARNING: The provided value '2' is not a valid value of type 'TextTrackM ode'.
1 Tests that the TextTrack mode attribute is appropriately set. 3 Tests that the TextTrack mode attribute is appropriately set.
2 4
3 5
4 ++ Test default attribute value 6 ++ Test default attribute value
5 EXPECTED (textTrack.mode == 'showing') OK 7 EXPECTED (textTrack.mode == 'showing') OK
6 EXPECTED (video.textTracks[0].mode == 'showing') OK 8 EXPECTED (video.textTracks[0].mode == 'showing') OK
7 9
8 *** Set to bogus value, should return default 10 *** Set to bogus value, should return default
9 RUN(textTrack.mode = 'bogus') 11 RUN(textTrack.mode = 'bogus')
10 EXPECTED (textTrack.mode == 'showing') OK 12 EXPECTED (textTrack.mode == 'showing') OK
(...skipping 24 matching lines...) Expand all
35 EXPECTED (textTrack.mode == 'showing') OK 37 EXPECTED (textTrack.mode == 'showing') OK
36 EXPECTED (video.textTracks[0].mode == 'showing') OK 38 EXPECTED (video.textTracks[0].mode == 'showing') OK
37 EXPECTED (textTrack.cues.length == '3') OK 39 EXPECTED (textTrack.cues.length == '3') OK
38 40
39 ++ at least 3 events expected while mode = showing 41 ++ at least 3 events expected while mode = showing
40 EVENT(cuechange) 42 EVENT(cuechange)
41 EVENT(cuechange) 43 EVENT(cuechange)
42 EVENT(cuechange) 44 EVENT(cuechange)
43 END OF TEST 45 END OF TEST
44 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698