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