Closed Bug 1625665 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22508 - cancelScheduledValues removes setValueCurveAtTime

Categories

(Core :: Web Audio, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22508 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22508
Details from upstream follow.

Raymond Toy <rtoy@chromium.org> wrote:

cancelScheduledValues removes setValueCurveAtTime

If the time requested in cancelScheduledValues overlaps the time of a
setValueCurveAtTime, then the setValueCurveAtTime is also removed.

Bug: 1063502
Change-Id: I6e8bd4bf802cd76f26b46f60905f977ab76d5b5b
Reviewed-on: https://chromium-review.googlesource.com/2121353
WPT-Export-Revision: 768650487396fc1003329e62972782477e1b6129

Component: web-platform-tests → Web Audio
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 20 subtests

Status Summary

Firefox

OK : 1
PASS: 12
FAIL: 5

Chrome

OK : 1
PASS: 12
FAIL: 5

Safari

OK : 1
PASS: 4
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webaudio/the-audio-api/the-audioparam-interface/cancel-scheduled-values.html

AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.: FAIL (Chrome: FAIL)

< [cancel1] 3 out of 11 assertions were failed.: FAIL (Chrome: FAIL)
X gain.gain.setValueAtTime(3, 0.375) incorrectly threw NotSupportedError: "AudioParam.setValueAtTime: Can't add events during a curve event".: FAIL
X output[3000:]: Expected 3 for all values but found 5000 unexpected values:
Index Actual
[0] 0
[1] -0.0010000000474974513
[2] -0.0020000000949949026
[3] -0.003000000026077032
...and 4996 more errors.: FAIL
X output[2000:2999]: Expected 1.5 for all values but found 1000 unexpected values:
Index Actual
[0] 1
[1] 0.9990000128746033
[2] 0.9980000257492065
[3] 0.996999979019165
...and 996 more errors.: FAIL (Chrome: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/97d82223cf09
[wpt PR 22508] - cancelScheduledValues removes setValueCurveAtTime, a=testonly
https://hg.mozilla.org/integration/autoland/rev/c605d985f861
[wpt PR 22508] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.