Index: LayoutTests/media/track/vtt-cue-exceptions-expected.txt |
diff --git a/LayoutTests/media/track/text-track-cue-exceptions-expected.txt b/LayoutTests/media/track/vtt-cue-exceptions-expected.txt |
similarity index 63% |
copy from LayoutTests/media/track/text-track-cue-exceptions-expected.txt |
copy to LayoutTests/media/track/vtt-cue-exceptions-expected.txt |
index ab109371c97f6e4bdb1d023eb45356ec63d23eef..1b2f72207c7cf7f7183617fffb2cad39e400a701 100644 |
--- a/LayoutTests/media/track/text-track-cue-exceptions-expected.txt |
+++ b/LayoutTests/media/track/vtt-cue-exceptions-expected.txt |
@@ -1,14 +1,8 @@ |
-Verify that TextTrackCue exceptions are properly messaged to developers. |
+Verify that VTTCue exceptions are properly messaged to developers. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS cue.startTime = Number.NaN; threw exception TypeError: Failed to set the 'startTime' property on 'TextTrackCue': The value provided is not a number.. |
-PASS cue.startTime = Number.POSITIVE_INFINITY; threw exception TypeError: Failed to set the 'startTime' property on 'TextTrackCue': The value provided is infinite.. |
-PASS cue.startTime = Number.NEGATIVE_INFINITY; threw exception TypeError: Failed to set the 'startTime' property on 'TextTrackCue': The value provided is infinite.. |
-PASS cue.endTime = Number.NaN; threw exception TypeError: Failed to set the 'endTime' property on 'TextTrackCue': The value provided is not a number.. |
-PASS cue.endTime = Number.POSITIVE_INFINITY; threw exception TypeError: Failed to set the 'endTime' property on 'TextTrackCue': The value provided is infinite.. |
-PASS cue.endTime = Number.NEGATIVE_INFINITY; threw exception TypeError: Failed to set the 'endTime' property on 'TextTrackCue': The value provided is infinite.. |
PASS cue.vertical = 'Invalid!'; threw exception SyntaxError: Failed to set the 'vertical' property on 'VTTCue': Failed to set the 'vertical' property on 'TextTrackCue': The value provided ('Invalid!') is invalid. Only 'rl', 'lr', and the empty string are accepted.. |
PASS cue.line = -1; threw exception IndexSizeError: Failed to set the 'line' property 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.. |
PASS cue.line = 101; threw exception IndexSizeError: Failed to set the 'line' property on 'VTTCue': Failed to set the 'line' property on 'TextTrackCue': The snap-to-lines flag is not set, and the value provided (101) is not between 0 and 100.. |