Bug 273936
| Summary: | Sync `WebCodecsAudioData` with WebIDL Interface | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar, WPTImpact |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/128190311>