| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="/w3c/resources/testharness.js"></script> | 4 <script src="/w3c/resources/testharness.js"></script> |
| 5 <script src="/w3c/resources/testharnessreport.js"></script> | 5 <script src="/w3c/resources/testharnessreport.js"></script> |
| 6 <script src="mediasource-util.js"></script> | 6 <script src="../mediasource-util.js"></script> |
| 7 <link rel='stylesheet' href='/w3c/resources/testharness.css'> | 7 <link rel='stylesheet' href='/w3c/resources/testharness.css'> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <div id="log"></div> | 10 <div id="log"></div> |
| 11 <script> | 11 <script> |
| 12 function createMediaXHR(test, onFinished) { | 12 function createMediaXHR(test, onFinished) { |
| 13 var mediaURL = "/media/resources/media-source/webm/test-a-5min-441
00Hz-1ch.webm"; | 13 var mediaURL = "/media/resources/media-source/webm/test-a-5min-441
00Hz-1ch.webm"; |
| 14 var xhr = new XMLHttpRequest(); | 14 var xhr = new XMLHttpRequest(); |
| 15 xhr.open('GET', mediaURL, true); | 15 xhr.open('GET', mediaURL, true); |
| 16 xhr.responseType = 'legacystream'; | 16 xhr.responseType = 'legacystream'; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 test.waitForExpectedEvents(onUpdateEnd); | 69 test.waitForExpectedEvents(onUpdateEnd); |
| 70 }); | 70 }); |
| 71 xhr.send(); | 71 xhr.send(); |
| 72 } | 72 } |
| 73 // Start appending data | 73 // Start appending data |
| 74 onUpdateEnd(); | 74 onUpdateEnd(); |
| 75 }, 'Calling appendStream repeatedly (without size parameter) should fi
ll up the buffer and send an error event when buffer is full.'); | 75 }, 'Calling appendStream repeatedly (without size parameter) should fi
ll up the buffer and send an error event when buffer is full.'); |
| 76 </script> | 76 </script> |
| 77 </body> | 77 </body> |
| 78 </html> | 78 </html> |
| OLD | NEW |