| 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/compatibility.js"></script> | 4 <script src="resources/compatibility.js"></script> |
| 5 <script src="resources/audit-util.js"></script> |
| 5 <script src="resources/audio-testing.js"></script> | 6 <script src="resources/audio-testing.js"></script> |
| 6 <script src="resources/audiobuffersource-testing.js"></script> | 7 <script src="resources/audiobuffersource-testing.js"></script> |
| 7 <script> | 8 <script> |
| 8 var context; | 9 var context; |
| 9 var source; | 10 var source; |
| 10 | 11 |
| 11 function runTest() | 12 function runTest() |
| 12 { | 13 { |
| 13 if (window.testRunner) { | 14 if (window.testRunner) { |
| 14 testRunner.dumpAsText(); | 15 testRunner.dumpAsText(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 32 osc.start(0); | 33 osc.start(0); |
| 33 osc.stop(0.1); | 34 osc.stop(0.1); |
| 34 context.startRendering(); | 35 context.startRendering(); |
| 35 } | 36 } |
| 36 </script> | 37 </script> |
| 37 </head> | 38 </head> |
| 38 <body onload="runTest()"> | 39 <body onload="runTest()"> |
| 39 <div>Tests that OscillatorNode calls its onended EventListener.</div> | 40 <div>Tests that OscillatorNode calls its onended EventListener.</div> |
| 40 <div id="console"></div> | 41 <div id="console"></div> |
| 41 </body> | 42 </body> |
| OLD | NEW |