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

Side by Side Diff: LayoutTests/media/track/vtt-cue-exceptions-expected.txt

Issue 173753002: Drop redundant 'ExceptionMessages::failedToXXX' calls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline. Created 6 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 | Annotate | Revision Log
OLDNEW
1 Verify that VTTCue exceptions are properly messaged to developers. 1 Verify that VTTCue exceptions are properly messaged to developers.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS cue.vertical = 'Invalid!'; threw exception SyntaxError: Failed to set the ' vertical' property on 'VTTCue': Failed to set the 'vertical' property on 'TextTr ackCue': The value provided ('Invalid!') is invalid. Only 'rl', 'lr', and the em pty string are accepted.. 6 PASS cue.vertical = 'Invalid!'; threw exception SyntaxError: Failed to set the ' vertical' property on 'VTTCue': The value provided ('Invalid!') is invalid. Only 'rl', 'lr', and the empty string are accepted..
7 PASS cue.line = -1; threw exception IndexSizeError: Failed to set the 'line' pro perty on 'VTTCue': Failed to set the 'line' property on 'TextTrackCue': The snap -to-lines flag is not set, and the value provided (-1) is not between 0 and 100. . 7 PASS cue.line = -1; threw exception IndexSizeError: Failed to set the 'line' pro perty on 'VTTCue': The snap-to-lines flag is not set, and the value provided (-1 ) is not between 0 and 100..
8 PASS cue.line = 101; threw exception IndexSizeError: Failed to set the 'line' pr operty on 'VTTCue': Failed to set the 'line' property on 'TextTrackCue': The sna p-to-lines flag is not set, and the value provided (101) is not between 0 and 10 0.. 8 PASS cue.line = 101; threw exception IndexSizeError: Failed to set the 'line' pr operty on 'VTTCue': The snap-to-lines flag is not set, and the value provided (1 01) is not between 0 and 100..
9 PASS cue.position = -1; threw exception IndexSizeError: Failed to set the 'posit ion' property on 'VTTCue': The value provided (-1) is not between 0 and 100.. 9 PASS cue.position = -1; threw exception IndexSizeError: Failed to set the 'posit ion' property on 'VTTCue': The value provided (-1) is not between 0 and 100..
10 PASS cue.position = 101; threw exception IndexSizeError: Failed to set the 'posi tion' property on 'VTTCue': The value provided (101) is not between 0 and 100.. 10 PASS cue.position = 101; threw exception IndexSizeError: Failed to set the 'posi tion' property on 'VTTCue': The value provided (101) is not between 0 and 100..
11 PASS cue.size = -1; threw exception IndexSizeError: Failed to set the 'size' pro perty on 'VTTCue': The value provided (-1) is not between 0 and 100.. 11 PASS cue.size = -1; threw exception IndexSizeError: Failed to set the 'size' pro perty on 'VTTCue': The value provided (-1) is not between 0 and 100..
12 PASS cue.size = 101; threw exception IndexSizeError: Failed to set the 'size' pr operty on 'VTTCue': The value provided (101) is not between 0 and 100.. 12 PASS cue.size = 101; threw exception IndexSizeError: Failed to set the 'size' pr operty on 'VTTCue': The value provided (101) is not between 0 and 100..
13 PASS cue.align = 'Invalid!'; threw exception SyntaxError: Failed to set the 'ali gn' property on 'VTTCue': Failed to set the 'align' property on 'TextTrackCue': The value provided ('Invalid!') is invalid. Only 'start', 'middle', 'end', 'left ', and 'right' are accepted.. 13 PASS cue.align = 'Invalid!'; threw exception SyntaxError: Failed to set the 'ali gn' property on 'VTTCue': The value provided ('Invalid!') is invalid. Only 'star t', 'middle', 'end', 'left', and 'right' are accepted..
14 PASS successfullyParsed is true 14 PASS successfullyParsed is true
15 15
16 TEST COMPLETE 16 TEST COMPLETE
17 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698