| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/testharness.js"></script> | 4 <script src="../../resources/testharness.js"></script> |
| 5 <script src="../../resources/testharnessreport.js"></script> | 5 <script src="../../resources/testharnessreport.js"></script> |
| 6 <script src="../resources/audit-util.js"></script> | 6 <script src="../resources/audit-util.js"></script> |
| 7 <script src="../resources/audio-testing.js"></script> | 7 <script src="../resources/audio-testing.js"></script> |
| 8 <script src="../resources/audio-param.js"></script> | 8 <script src="../resources/audio-param.js"></script> |
| 9 <title>Updating of Value Attribute from Timeline</title> | 9 <title>Updating of Value Attribute from Timeline</title> |
| 10 </head> | 10 </head> |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 precision: 7 | 153 precision: 7 |
| 154 }) | 154 }) |
| 155 .beCloseTo(expected, test.errorThreshold || 0) && success; | 155 .beCloseTo(expected, test.errorThreshold || 0) && success; |
| 156 }).then(context.resume.bind(context)); | 156 }).then(context.resume.bind(context)); |
| 157 } | 157 } |
| 158 | 158 |
| 159 source.start(); | 159 source.start(); |
| 160 | 160 |
| 161 return context.startRendering().then(function (resultBuffer) { | 161 return context.startRendering().then(function (resultBuffer) { |
| 162 // Just print a final pass (or fail) message. | 162 // Just print a final pass (or fail) message. |
| 163 Should("Gain .value attribute", success) | 163 Should("Gain .value attribute for " + test.message, success) |
| 164 .summarize("correctly updated during automation", | 164 .summarize("correctly updated during automation", |
| 165 "not correctly updated during automation; max error = " +
maxError); | 165 "not correctly updated during automation; max error = " +
maxError); |
| 166 }); | 166 }); |
| 167 } | 167 } |
| 168 </script> | 168 </script> |
| 169 </body> | 169 </body> |
| 170 </html> | 170 </html> |
| OLD | NEW |