| 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 | 12 |
| 11 function startTest() | 13 function startTest() |
| 12 { | 14 { |
| 13 if (!window.VTTRegion) { | 15 if (!window.VTTRegion) { |
| 14 failTest(); | 16 failTest(); |
| 15 return; | 17 return; |
| 16 } | 18 } |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 </script> | 59 </script> |
| 58 </head> | 60 </head> |
| 59 <body> | 61 <body> |
| 60 <p>Tests proper parsing of various regions present in WebVTT header area
.</p> | 62 <p>Tests proper parsing of various regions present in WebVTT header area
.</p> |
| 61 <video controls> | 63 <video controls> |
| 62 <track src="../captions-webvtt/header-regions.vtt" kind="captions" d
efault onload="startTest()"> | 64 <track src="../captions-webvtt/header-regions.vtt" kind="captions" d
efault onload="startTest()"> |
| 63 </video> | 65 </video> |
| 64 | 66 |
| 65 </body> | 67 </body> |
| 66 </html> | 68 </html> |
| OLD | NEW |