| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Test Custom Oscillator at Very Low Frequency</title> | 4 <title>Test Custom Oscillator at Very Low Frequency</title> |
| 5 <script src="../../resources/js-test.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
| 6 <script src="../resources/compatibility.js"></script> | |
| 7 <script src="../resources/audit-util.js"></script> | 6 <script src="../resources/audit-util.js"></script> |
| 8 <script src="../resources/audio-testing.js"></script> | 7 <script src="../resources/audio-testing.js"></script> |
| 9 </head> | 8 </head> |
| 10 | 9 |
| 11 <body> | 10 <body> |
| 12 <script> | 11 <script> |
| 13 description("Test Custom Oscillator at Very Low Frequency"); | 12 description("Test Custom Oscillator at Very Low Frequency"); |
| 14 window.jsTestIsAsync = true; | 13 window.jsTestIsAsync = true; |
| 15 | 14 |
| 16 // Create a custom oscillator and verify that the parts of a periodic wave
that should be | 15 // Create a custom oscillator and verify that the parts of a periodic wave
that should be |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 context.startRendering().then(function (buffer) { | 80 context.startRendering().then(function (buffer) { |
| 82 checkCosineResult(buffer, desiredFrequencyHz, sampleRate); | 81 checkCosineResult(buffer, desiredFrequencyHz, sampleRate); |
| 83 }).then(finishJSTest); | 82 }).then(finishJSTest); |
| 84 }; | 83 }; |
| 85 | 84 |
| 86 runTest(); | 85 runTest(); |
| 87 successfullyParsed = true; | 86 successfullyParsed = true; |
| 88 </script> | 87 </script> |
| 89 </body> | 88 </body> |
| 90 </html> | 89 </html> |
| OLD | NEW |