Closed Bug 1719923 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29629 - Add AudioData::copyTo()

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Thomas Guilbert <tguilbert@chromium.org>' wrote:

Add AudioData::copyTo()

This CL updates AudioData according to the latest WebCodecs spec. It
adds an allocationSize() and a copyTo() method to AudioData.

WPTs will be included in future CLs, when AudioDataInit is updated to
use a BufferSource instead of an AudioBuffer.

Bug: 1205281
Change-Id: I97a2ed6ac094e373671262d3ba4089d150d94446
Reviewed-on: https://chromium-review.googlesource.com/3011779
WPT-Export-Revision: e9fee79c0aa6750519ab72711455bbcbd5f97a8f

CI Results

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

Total 3 tests and 2 subtests

Status Summary

Firefox

OK : 2
FAIL : 7
ERROR: 1

Chrome

OK : 2
PASS : 4
FAIL : 3
ERROR: 1

Safari

OK : 2
FAIL : 7
ERROR: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/audio-data-serialization.any.html
Verify closing AudioData does not propagate accross contexts.: FAIL (Chrome: FAIL, Safari: FAIL)
Verify posting closed AudioData throws.: FAIL (Chrome: PASS, Safari: FAIL)
/webcodecs/audio-data.any.html
Verify AudioData constructors: FAIL (Chrome: FAIL, Safari: FAIL)
Verify closing and cloning AudioData: FAIL (Chrome: FAIL, Safari: FAIL)
Test we can construct AudioData with a negative timestamp.: FAIL (Chrome: PASS, Safari: FAIL)
/webcodecs/audio-encoder.any.html: ERROR (Chrome: ERROR, Safari: ERROR)
Simple audio encoding: FAIL (Chrome: PASS, Safari: FAIL)
Encode audio with negative timestamp: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eacd82ff57d5
[wpt PR 29629] - Add AudioData::copyTo(), a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06be0a10ee0f
[wpt PR 29629] - Add AudioData::copyTo(), a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.