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

Side by Side Diff: LayoutTests/media/track/text-track-cue-constructor.html

Issue 63173020: Split VTTCue from TextTrackCue (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>TextTrackCue constructor</title>
5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script>
7 </head>
8 <body>
9 <div id="log"></div>
10 <script>
11 test(function()
12 {
13 assert_not_equals(TextTrackCue, VTTCue);
14 }, "TextTrackCue and VTTCue are separate interfaces");
15 test(function()
16 {
17 var cue = new TextTrackCue(0, 0, "");
18 assert_true(cue instanceof TextTrackCue);
19 assert_true(cue instanceof VTTCue);
20 }, "TextTrackCue constructor returns a VTTCue");
21 </script>
22 </body>
23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/constructor-length-expected.txt ('k') | LayoutTests/media/track/text-track-cue-constructor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698