Index: LayoutTests/media/track/track-add-remove-cue.html |
diff --git a/LayoutTests/media/track/track-add-remove-cue.html b/LayoutTests/media/track/track-add-remove-cue.html |
index a60de24937c95802d0ec79ba1a3854803cba8f66..5b790f54a9ed51164dc3c637d6ddb00d44c8f92f 100644 |
--- a/LayoutTests/media/track/track-add-remove-cue.html |
+++ b/LayoutTests/media/track/track-add-remove-cue.html |
@@ -49,7 +49,7 @@ |
consoleWrite("<br>*** create a new cue and add it to a track created with video.addTextTrack, make sure it is inserted correctly."); |
findMediaElement(); |
run('newTrack = video.addTextTrack("subtitles", "French subtitles", "fr")'); |
- newTrack.mode = 2; |
+ run('newTrack.mode = "showing"'); |
run('newTrack.addCue(new VTTCue(0.0, 1.0, "Test!"))'); |
run('newCue = newTrack.cues[0]'); |
testExpected("newCue.track", newTrack); |