| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Audio element src attribute must match src list - positive test</titl
e> | 4 <title>Audio element src attribute must match src list - positive test</titl
e> |
| 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>Audio element src attribute must match src list - positive test</h1> | 9 <h1>Audio element src attribute must match src list - positive test</h1> |
| 10 <div id='log'></div> | 10 <div id='log'></div> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 t.step( function () { | 21 t.step( function () { |
| 22 assert_unreached("Media error handler should be triggered for non-allo
wed domain."); | 22 assert_unreached("Media error handler should be triggered for non-allo
wed domain."); |
| 23 }); | 23 }); |
| 24 t.done(); | 24 t.done(); |
| 25 } | 25 } |
| 26 </script> | 26 </script> |
| 27 | 27 |
| 28 <audio id="audioObject" width="320" height="240" controls | 28 <audio id="audioObject" width="320" height="240" controls |
| 29 onloadeddata="media_loaded(source_test)"> | 29 onloadeddata="media_loaded(source_test)"> |
| 30 <source id="audioSourceObject" | 30 <source id="audioSourceObject" |
| 31 type="audio/mpeg" | 31 type="audio/ogg" |
| 32 onerror="media_error_handler(source_test)" | 32 onerror="media_error_handler(source_test)" |
| 33 src="/media/sound_5.mp3"> | 33 src="/media/sound_5.oga"> |
| 34 </audio> | 34 </audio> |
| 35 <audio id="audioObject2" width="320" height="240" controls | 35 <audio id="audioObject2" width="320" height="240" controls |
| 36 onerror="media_error_handler(src_test)" | 36 onerror="media_error_handler(src_test)" |
| 37 onloadeddata="media_loaded(src_test)" | 37 onloadeddata="media_loaded(src_test)" |
| 38 src="/media/sound_5.mp3"> | 38 src="/media/sound_5.oga"> |
| 39 | 39 |
| 40 <script async defer src="../support/checkReport.sub.js?reportExists=false"> | 40 <script async defer src="../support/checkReport.sub.js?reportExists=false"> |
| 41 </script> | 41 </script> |
| 42 | 42 |
| 43 </body> | 43 </body> |
| 44 </html> | 44 </html> |
| OLD | NEW |