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

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

Issue 2268373002: clean up media tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>TextTrackCue constructor</title> 4 <title>TextTrackCue constructor</title>
5 <script src="../../resources/testharness.js"></script> 5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script> 6 <script src="../../resources/testharnessreport.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <div id="log"></div>
10 <script> 9 <script>
11 test(function() 10 test(function()
12 { 11 {
13 assert_not_equals(TextTrackCue, VTTCue); 12 assert_not_equals(TextTrackCue, VTTCue);
14 }, "TextTrackCue and VTTCue are separate interfaces"); 13 }, "TextTrackCue and VTTCue are separate interfaces");
15 test(function() 14 test(function()
16 { 15 {
17 assert_throws(new TypeError(), function() 16 assert_throws(new TypeError(), function()
18 { 17 {
19 new TextTrackCue(0, 0, ""); 18 new TextTrackCue(0, 0, "");
20 }); 19 });
21 }, "TextTrackCue constructor should not be supported"); 20 }, "TextTrackCue constructor should not be supported");
22 </script> 21 </script>
23 </body> 22 </body>
24 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698