| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Video track src attribute must match src list - positive test</title> | 4 <title>Video track src attribute must match src list - positive test</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 <h1>Video track src attribute must match src list - positive test</h1> | 9 <h1>Video track src attribute must match src list - positive test</h1> |
| 10 <div id='log'></div> | 10 <div id='log'></div> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 t.step( function () { | 27 t.step( function () { |
| 28 assert_unreached("Error handler called for allowed track source."); | 28 assert_unreached("Error handler called for allowed track source."); |
| 29 }); | 29 }); |
| 30 t.done(); | 30 t.done(); |
| 31 } | 31 } |
| 32 </script> | 32 </script> |
| 33 | 33 |
| 34 <video id="videoObject" width="320" height="240" controls | 34 <video id="videoObject" width="320" height="240" controls |
| 35 onloadeddata="media_loaded(source_test)" crossorigin> | 35 onloadeddata="media_loaded(source_test)" crossorigin> |
| 36 <source id="audioSourceObject" | 36 <source id="audioSourceObject" |
| 37 type="audio/mpeg" | 37 type="audio/ogg" |
| 38 src="/media/white.mp4"> | 38 src="/media/A4.ogv"> |
| 39 <track id="trackObject" | 39 <track id="trackObject" |
| 40 kind="subtitles" | 40 kind="subtitles" |
| 41 srclang="en" | 41 srclang="en" |
| 42 label="English" | 42 label="English" |
| 43 onerror="media_error_handler(source_test)"> | 43 onerror="media_error_handler(source_test)"> |
| 44 </video> | 44 </video> |
| 45 <script> | 45 <script> |
| 46 document.getElementById("trackObject").src = trackURL; | 46 document.getElementById("trackObject").src = trackURL; |
| 47 </script> | 47 </script> |
| 48 | 48 |
| 49 <script async defer src="../support/checkReport.sub.js?reportExists=false"> | 49 <script async defer src="../support/checkReport.sub.js?reportExists=false"> |
| 50 </script> | 50 </script> |
| 51 | 51 |
| 52 </body> | 52 </body> |
| 53 </html> | 53 </html> |
| OLD | NEW |