OLD | NEW |
1 Verify that TextTrackCue exceptions are properly messaged to developers. | 1 Verify that TextTrackCue 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.startTime = Number.NaN; threw exception TypeError: Failed to set the 's
tartTime' property on 'TextTrackCue': The value provided is not a number.. | 6 PASS cue.startTime = Number.NaN; threw exception TypeError: Failed to set the 's
tartTime' property on 'TextTrackCue': The value provided is not a number.. |
7 PASS cue.startTime = Number.POSITIVE_INFINITY; threw exception TypeError: Failed
to set the 'startTime' property on 'TextTrackCue': The value provided is infini
te.. | 7 PASS cue.startTime = Number.POSITIVE_INFINITY; threw exception TypeError: Failed
to set the 'startTime' property on 'TextTrackCue': The value provided is infini
te.. |
8 PASS cue.startTime = Number.NEGATIVE_INFINITY; threw exception TypeError: Failed
to set the 'startTime' property on 'TextTrackCue': The value provided is infini
te.. | 8 PASS cue.startTime = Number.NEGATIVE_INFINITY; threw exception TypeError: Failed
to set the 'startTime' property on 'TextTrackCue': The value provided is infini
te.. |
9 PASS cue.endTime = Number.NaN; threw exception TypeError: Failed to set the 'end
Time' property on 'TextTrackCue': The value provided is not a number.. | 9 PASS cue.endTime = Number.NaN; threw exception TypeError: Failed to set the 'end
Time' property on 'TextTrackCue': The value provided is not a number.. |
10 PASS cue.endTime = Number.POSITIVE_INFINITY; threw exception TypeError: Failed t
o set the 'endTime' property on 'TextTrackCue': The value provided is infinite.. | 10 PASS cue.endTime = Number.POSITIVE_INFINITY; threw exception TypeError: Failed t
o set the 'endTime' property on 'TextTrackCue': The value provided is infinite.. |
11 PASS cue.endTime = Number.NEGATIVE_INFINITY; threw exception TypeError: Failed t
o set the 'endTime' property on 'TextTrackCue': The value provided is infinite.. | 11 PASS cue.endTime = Number.NEGATIVE_INFINITY; threw exception TypeError: Failed t
o set the 'endTime' property on 'TextTrackCue': The value provided is infinite.. |
12 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.. | |
13 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.
. | |
14 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.. | |
15 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.. | |
16 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.. | |
17 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.. | |
18 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.. | |
19 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.. | |
20 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
21 | 13 |
22 TEST COMPLETE | 14 TEST COMPLETE |
23 | 15 |
OLD | NEW |