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 77e720636d3e9a577e8f1fd3be7eab59ee002bf0..99f5247b46957b4dc679f2c94f5199f475c4eaf8 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 VTTCue('sausage-cue', -3439332606, 3.4, 'Sausage?')"); |
+ run("textCue = new VTTCue(-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 VTTCue('pepperoni-cue', -110, -3.4, 'Pepperoni?')"); |
+ run("textCue = new VTTCue(-110, -3.4, 'Pepperoni?')"); |
run("testTrack.track.addCue(textCue)"); |
testExpected("testTrack.track.cues.length", 4); |