FYI: `audioparam-testing.js` was not being used in original old test file.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
function assert_close_to(actual, expected, threshold, description) {
Can we adapt `assert_approx_equals` from testharness.js instead?
https://crsrc.org/c/third_party/blink/web_tests/resources/testharness.js;l=1748
const source = context.createBufferSource();
Let's use `new` here instead.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
function assert_close_to(actual, expected, threshold, description) {
Can we adapt `assert_approx_equals` from testharness.js instead?
https://crsrc.org/c/third_party/blink/web_tests/resources/testharness.js;l=1748
Done
Let's use `new` here instead.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
<title>Sampling of Linear/Exponential Ramp Automation</title>
I think we can make this title more precise. `Automation` is a broad concept in WebAudio, whereas this test specifically targets `LinearRampToValueAtTime` and `ExponentialRampToValueAtTime`
How about: `Test Linear-/Exponential-RampToValueAtTime`
`Sampling ramp automation: ${config.desc}`);
Similarly, let's directly mention the tested config here.
`${config.desc} Test`.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
<title>Sampling of Linear/Exponential Ramp Automation</title>
I think we can make this title more precise. `Automation` is a broad concept in WebAudio, whereas this test specifically targets `LinearRampToValueAtTime` and `ExponentialRampToValueAtTime`
How about: `Test Linear-/Exponential-RampToValueAtTime`
thank you, it makes sense. :)
Similarly, let's directly mention the tested config here.
`${config.desc} Test`.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[webaudio] Migrate audioparam-sampling.html limit test to testharness.js
Convert webaudio/audioparam/set-target-at-time-approach-limit.html from
the legacy audit.js runner to pure testharness.js
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |