| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | 5 |
| 6 <script src=../../media-file.js></script> | 6 <script src=../../media-file.js></script> |
| 7 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 8 (Please avoid writing new tests using video-test.js) --> |
| 7 <script src=../../video-test.js></script> | 9 <script src=../../video-test.js></script> |
| 8 <script> | 10 <script> |
| 9 var region; | 11 var region; |
| 10 var invalidPercentageValues; | 12 var invalidPercentageValues; |
| 11 | 13 |
| 12 function startTest() | 14 function startTest() |
| 13 { | 15 { |
| 14 if (!window.VTTRegion) { | 16 if (!window.VTTRegion) { |
| 15 failTest(); | 17 failTest(); |
| 16 return; | 18 return; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 73 |
| 72 endTest(); | 74 endTest(); |
| 73 } | 75 } |
| 74 | 76 |
| 75 </script> | 77 </script> |
| 76 </head> | 78 </head> |
| 77 <body onload="startTest()"> | 79 <body onload="startTest()"> |
| 78 <p>Tests the constructor and mutation of VTTRegion.</p> | 80 <p>Tests the constructor and mutation of VTTRegion.</p> |
| 79 </body> | 81 </body> |
| 80 </html> | 82 </html> |
| OLD | NEW |