| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <head> | 2 <head> |
| 3 <script src="../resources/js-test.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 <script src="resources/audit-util.js"></script> | 4 <script src="../resources/audit-util.js"></script> |
| 5 <script src="resources/audio-testing.js"></script> | 5 <script src="../resources/audio-testing.js"></script> |
| 6 <script src="resources/compatibility.js"></script> | 6 <script src="../resources/compatibility.js"></script> |
| 7 <script src="resources/audiobuffersource-testing.js"></script> | 7 <script src="../resources/audiobuffersource-testing.js"></script> |
| 8 <script> | 8 <script> |
| 9 var context; | 9 var context; |
| 10 var source; | 10 var source; |
| 11 | 11 |
| 12 function runTest() | 12 function runTest() |
| 13 { | 13 { |
| 14 if (window.testRunner) { | 14 if (window.testRunner) { |
| 15 testRunner.dumpAsText(); | 15 testRunner.dumpAsText(); |
| 16 testRunner.waitUntilDone(); | 16 testRunner.waitUntilDone(); |
| 17 } | 17 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 31 source.start(0); | 31 source.start(0); |
| 32 context.startRendering(); | 32 context.startRendering(); |
| 33 } | 33 } |
| 34 </script> | 34 </script> |
| 35 | 35 |
| 36 </head> | 36 </head> |
| 37 <body onload="runTest()"> | 37 <body onload="runTest()"> |
| 38 <div>Tests that AudioBufferSourceNode calls its onended EventListener.</div> | 38 <div>Tests that AudioBufferSourceNode calls its onended EventListener.</div> |
| 39 <div id="console"></div> | 39 <div id="console"></div> |
| 40 </body> | 40 </body> |
| OLD | NEW |