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