Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: LayoutTests/media/track/track-cue-negative-timestamp.html

Issue 72543003: Update TextTrackCue tests to use VTTCue where appropriate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698