Index: LayoutTests/media/track/track-cue-negative-timestamp.html |
diff --git a/LayoutTests/media/track/track-cue-negative-timestamp.html b/LayoutTests/media/track/track-cue-negative-timestamp.html |
index b27133ef2225d720d2eea32045ae0dc3d7ac26d6..77e720636d3e9a577e8f1fd3be7eab59ee002bf0 100644 |
--- a/LayoutTests/media/track/track-cue-negative-timestamp.html |
+++ b/LayoutTests/media/track/track-cue-negative-timestamp.html |
@@ -10,13 +10,13 @@ |
{ |
consoleWrite("Test that cues with negative startTime are not added:"); |
testExpected("testTrack.track.cues.length", 4); |
- run("textCue = new TextTrackCue('sausage-cue', -3439332606, 3.4, 'Sausage?')"); |
+ run("textCue = new VTTCue('sausage-cue', -3439332606, 3.4, 'Sausage?')"); |
run("testTrack.track.addCue(textCue)"); |
testExpected("testTrack.track.cues.length", 4); |
consoleWrite("<br>Test that cues with negative startTime and negative endTime are not added:"); |
testExpected("testTrack.track.cues.length", 4); |
- run("textCue = new TextTrackCue('pepperoni-cue', -110, -3.4, 'Pepperoni?')"); |
+ run("textCue = new VTTCue('pepperoni-cue', -110, -3.4, 'Pepperoni?')"); |
run("testTrack.track.addCue(textCue)"); |
testExpected("testTrack.track.cues.length", 4); |