| 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> | |
| 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 <script src="../resources/audioparam-testing.js"></script> | 8 <script src="../resources/audioparam-testing.js"></script> |
| 10 <title>AudioParam Initial Events </title> | 9 <title>AudioParam Initial Events </title> |
| 11 </head> | 10 </head> |
| 12 | 11 |
| 13 <body> | 12 <body> |
| 14 <script> | 13 <script> |
| 15 description("Test Automation Ramps without Initial Event"); | 14 description("Test Automation Ramps without Initial Event"); |
| 16 window.jsTestIsAsync = true; | 15 window.jsTestIsAsync = true; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 return context.startRendering() | 165 return context.startRendering() |
| 167 .then(function (resultBuffer) { | 166 .then(function (resultBuffer) { |
| 168 var result = resultBuffer.getChannelData(0); | 167 var result = resultBuffer.getChannelData(0); |
| 169 var expected = referenceFunction(v0, v1, delay ? delay : 0, automation
EndTime, renderFrames); | 168 var expected = referenceFunction(v0, v1, delay ? delay : 0, automation
EndTime, renderFrames); |
| 170 Should(message, result).beCloseToArray(expected, threshold); | 169 Should(message, result).beCloseToArray(expected, threshold); |
| 171 }); | 170 }); |
| 172 } | 171 } |
| 173 </script> | 172 </script> |
| 174 </body> | 173 </body> |
| 175 | 174 |
| 176 </html> | 175 </html> |
| OLD | NEW |