NEW 273936
Sync `WebCodecsAudioData` with WebIDL Interface
https://bugs.webkit.org/show_bug.cgi?id=273936
Summary Sync `WebCodecsAudioData` with WebIDL Interface
Ahmad Saleem
Reported 2024-05-09 04:45:12 PDT
Hi Team, While going through failing test uniquely in Safari, I noticed that we are failing 'idlharness' test for WebCodecs of AudioData Interface: WPT - https://wpt.fyi/results/webcodecs/idlharness.https.any.html?label=master&label=experimental&aligned&q=safari%3Afail%20chrome%3Apass%20firefox%3Apass Web Spec - https://w3c.github.io/webcodecs/#audiodata-interface & https://w3c.github.io/webcodecs/#dictdef-audiodatacopytooptions Changes required: > Remove `optional` from 'allocationSize': unsigned long allocationSize(AudioDataCopyToOptions options); > `duration` is not nullable, so remove `?` > 'AudioDataInit' is missing `transfer': sequence<ArrayBuffer> transfer = []; > `frameOffset` should be `0` for AudioDataCopyToOptions > `planeIndex` should be 'required' __ Just wanted to raise so we can fix above failing and any other consequently tests. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-16 04:46:28 PDT
Note You need to log in before you can comment on or make changes to this bug.