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

Unified Diff: LayoutTests/media/track/track-add-remove-cue.html

Issue 11369197: Merge 133610 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | LayoutTests/media/track/track-add-remove-cue-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/track/track-add-remove-cue.html
===================================================================
--- LayoutTests/media/track/track-add-remove-cue.html (revision 134272)
+++ LayoutTests/media/track/track-add-remove-cue.html (working copy)
@@ -87,6 +87,13 @@
consoleWrite("<br>*** Try to remove the cue again.");
testException("testTrack.track.removeCue(textCue)", "DOMException.INVALID_STATE_ERR");
+ consoleWrite("<br>*** Add a cue before all the existing cues.");
+ run("testTrack.track.addCue(new TextTrackCue(0, 31, 'I am first'))");
+ testExpected("cues[0].startTime", 0);
+ testExpected("cues[0].endTime", 31);
+ testExpected("cues[1].startTime", 0);
+ testExpected("cues[1].endTime", 30.5);
+ testExpected("cues[2].startTime", 31);
endTest();
}
« no previous file with comments | « no previous file | LayoutTests/media/track/track-add-remove-cue-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698