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

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, 10 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 ERROR: The provided value 'bogus' is not a valid value of type 'TextTrac kMode'.
Nils Barth (inactive) 2015/02/26 17:21:54 Obviously intentional (good test!): https://code.g
1 Tests that the TextTrack mode attribute is appropriately set. 2 Tests that the TextTrack mode attribute is appropriately set.
2 3
3 4
4 ++ Test default attribute value 5 ++ Test default attribute value
5 EXPECTED (textTrack.mode == 'showing') OK 6 EXPECTED (textTrack.mode == 'showing') OK
6 EXPECTED (video.textTracks[0].mode == 'showing') OK 7 EXPECTED (video.textTracks[0].mode == 'showing') OK
7 8
8 *** Set to bogus value, should return default 9 *** Set to bogus value, should return default
9 RUN(textTrack.mode = 'bogus') 10 RUN(textTrack.mode = 'bogus')
10 EXPECTED (textTrack.mode == 'showing') OK 11 EXPECTED (textTrack.mode == 'showing') OK
(...skipping 19 matching lines...) Expand all
30 EXPECTED (textTrack.mode == 'showing') OK 31 EXPECTED (textTrack.mode == 'showing') OK
31 EXPECTED (video.textTracks[0].mode == 'showing') OK 32 EXPECTED (video.textTracks[0].mode == 'showing') OK
32 EXPECTED (textTrack.cues.length == '3') OK 33 EXPECTED (textTrack.cues.length == '3') OK
33 34
34 ++ at least 3 events expected while mode = showing 35 ++ at least 3 events expected while mode = showing
35 EVENT(cuechange) 36 EVENT(cuechange)
36 EVENT(cuechange) 37 EVENT(cuechange)
37 EVENT(cuechange) 38 EVENT(cuechange)
38 END OF TEST 39 END OF TEST
39 40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698