| OLD | NEW |
| 1 <html lang="en"> | 1 <html lang="en"> |
| 2 <head> | 2 <head> |
| 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 4 <title><video> and <source> error test</title> | 4 <title><video> and <source> error test</title> |
| 5 <script src=media-file.js></script> | 5 <script src=media-file.js></script> |
| 6 <script src=video-test.js></script> | 6 <script src=video-test.js></script> |
| 7 | 7 |
| 8 <script> | 8 <script> |
| 9 | 9 |
| 10 var sources = []; | 10 var sources = []; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 waitForEvent('loadeddata', loadeddata); | 53 waitForEvent('loadeddata', loadeddata); |
| 54 } | 54 } |
| 55 </script> | 55 </script> |
| 56 </head> | 56 </head> |
| 57 | 57 |
| 58 <body> | 58 <body> |
| 59 | 59 |
| 60 <video controls> | 60 <video controls> |
| 61 <source id=missing-src type="video/blahblah"> | 61 <source id=missing-src type="video/blahblah"> |
| 62 <source id=bogus-type src=content/test.mp4 type="video/blahblah"> | 62 <source id=bogus-type src=content/test.mp4 type="video/blahblah"> |
| 63 <source id=unsupported-media-query src=content/test.mp4 media=print> | |
| 64 <source id=missing-file src=content/error2.mpeg type=video/mpeg> | 63 <source id=missing-file src=content/error2.mpeg type=video/mpeg> |
| 65 <source id=format-error src="content/unsupported_track.mov"> | 64 <source id=format-error src="content/unsupported_track.mov"> |
| 66 <source id=supported-format-mp4 src=content/test.mp4 type="video/mp4
; codecs="avc1.4D400C""> | 65 <source id=supported-format-mp4 src=content/test.mp4 type="video/mp4
; codecs="avc1.4D400C""> |
| 67 <source id=supported-format-ogv src=content/test.ogv type="video/ogg
"> | 66 <source id=supported-format-ogv src=content/test.ogv type="video/ogg
"> |
| 68 </video> | 67 </video> |
| 69 | 68 |
| 70 <p>1. Test that errors fired while evaluating/loading <source> ele
ments are fired at the | 69 <p>1. Test that errors fired while evaluating/loading <source> ele
ments are fired at the |
| 71 <source> and not at the <video> element. | 70 <source> and not at the <video> element. |
| 72 <br>2. Verifiy that an 'error' event fired while processing/loading a &l
t;source> element | 71 <br>2. Verifiy that an 'error' event fired while processing/loading a &l
t;source> element |
| 73 does not set the media element's 'error' attribute.</p> | 72 does not set the media element's 'error' attribute.</p> |
| 74 | 73 |
| 75 <script>start()</script> | 74 <script>start()</script> |
| 76 </body> | 75 </body> |
| 77 </html> | 76 </html> |
| OLD | NEW |