| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 | 3 |
| 4 <head> | 4 <head> |
| 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 <script src="resources/audioparam-testing.js"></script> | 9 <script src="../resources/audioparam-testing.js"></script> |
| 10 <title>AudioParam Initial Events </title> | 10 <title>AudioParam Initial Events </title> |
| 11 </head> | 11 </head> |
| 12 | 12 |
| 13 <body> | 13 <body> |
| 14 <script> | 14 <script> |
| 15 description("Test Automation Ramps without Initial Event"); | 15 description("Test Automation Ramps without Initial Event"); |
| 16 window.jsTestIsAsync = true; | 16 window.jsTestIsAsync = true; |
| 17 | 17 |
| 18 var sampleRate = 48000; | 18 var sampleRate = 48000; |
| 19 // Number of frames in a rendering quantum. | 19 // Number of frames in a rendering quantum. |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 .then(function (resultBuffer) { | 167 .then(function (resultBuffer) { |
| 168 var result = resultBuffer.getChannelData(0); | 168 var result = resultBuffer.getChannelData(0); |
| 169 var expected = referenceFunction(v0, v1, delay ? delay : 0, automation
EndTime, renderFrames); | 169 var expected = referenceFunction(v0, v1, delay ? delay : 0, automation
EndTime, renderFrames); |
| 170 Should(message, result).beCloseToArray(expected, threshold); | 170 Should(message, result).beCloseToArray(expected, threshold); |
| 171 }); | 171 }); |
| 172 } | 172 } |
| 173 </script> | 173 </script> |
| 174 </body> | 174 </body> |
| 175 | 175 |
| 176 </html> | 176 </html> |
| OLD | NEW |