author | Raymond Toy <rtoy@chromium.org> |
Mon, 22 Jun 2020 10:41:28 +0000 | |
changeset 536832 | fcb96ec497a6f4d5fd284bea46b80d4ebf7735b1 |
parent 536831 | 04af5449d09e655bcd0cda458c4e851411b280bc |
child 536833 | 5e1ec38dd7a121a93b8831c899102e13d69fd377 |
push id | 119680 |
push user | wptsync@mozilla.com |
push date | Tue, 23 Jun 2020 11:08:22 +0000 |
treeherder | autoland@7ca3d4bada73 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1642016, 23864, 1087071, 2171843, 779062 |
milestone | 79.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
testing/web-platform/tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html | file | annotate | diff | comparison | revisions |
--- a/testing/web-platform/tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html +++ b/testing/web-platform/tests/webaudio/the-audio-api/the-delaynode-interface/no-dezippering.html @@ -88,17 +88,18 @@ .beEqualToArray(ramp1); }) .then(() => task.done()); }); audit.define( {label: 'test1', description: 'Test value setter and setValueAtTime'}, (task, should) => { - testWithAutomation(should, {prefix: ''}).then(() => task.done()); + testWithAutomation(should, {prefix: '', threshold: 5.9605e-8}) + .then(() => task.done()); }); audit.define( {label: 'test2', description: 'Test value setter and modulation'}, (task, should) => { testWithAutomation(should, { prefix: 'With modulation: ', modulator: true @@ -163,21 +164,21 @@ src.start(); return context.startRendering().then(renderedBuffer => { let actual = renderedBuffer.getChannelData(0); let expected = renderedBuffer.getChannelData(1); let match = should(actual, prefix + '.value setter output') - .beEqualToArray(expected); + .beCloseToArray( + expected, {absoluteThreshold: options.threshold}); should( match, prefix + '.value setter output matches setValueAtTime output') .beTrue(); }); } audit.run(); - </script> </body> </html>