Closed Bug 1994891 Opened 6 months ago Closed 5 months ago

Implement `transfer` for AudioDataInit

Categories

(Core :: Audio/Video: Web Codecs, task, P3)

task

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: chunmin, Assigned: pommicket)

References

Details

Attachments

(1 file)

Similar to Bug 1861769, we should add a transfer property to AudioDataInit's WebIDL and follow the latest AudioData constructor algorithm. This will allow users to transfer ownership of data from a TypedArray to the AudioData, avoiding unnecessary copies. (See Bug 1861769, comment 1 for more details and rationale.)

The expected outcome is that the implementation should pass the related WPTs in transfering.https.any.js.

No longer blocks: webcodecs
See Also: → 1994894
Assignee: nobody → pommicket
Status: NEW → ASSIGNED
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9ee6cbb5aad6 https://hg.mozilla.org/integration/autoland/rev/81db789ce6de Revert "Bug 1994891 - Implement `transfer` for AudioDataInit r=aosmond" for causing Hazard failures at AudioData.cpp.
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Flags: needinfo?(pommicket)
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: