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

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

Issue 854863002: VTTCue: Add TypeChecking=Unrestricted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop unnecessary test. Created 5 years, 11 months 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 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);

Powered by Google App Engine
This is Rietveld 408576698