| OLD | NEW | 
|---|
| 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> | 
| OLD | NEW | 
|---|