Bug 260763 - Sync with IDL spec and remove usage of 'item()' from track related IDLs
Summary: Sync with IDL spec and remove usage of 'item()' from track related IDLs
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-08-25 23:34 PDT by Ahmad Saleem
Modified: 2024-06-26 13:15 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-08-25 23:34:52 PDT
SSIA.

While going through IDL files (track etc.), I noticed that we have few usages of 'item()', which based on discussion with Chris seems to be more 'back compatible' but it is better to align with Blink and spec and remove the usage.

So this is bug to remove them from following files:

'getter AudioTrack item(unsigned long index);' <- In 'AudioTrackList.idl'.

'getter TextTrackCue item(unsigned long index);' <- In 'TextTrackCueList.idl'.

'getter TextTrack item(unsigned long index);' <- In 'TextTrackList.idl'.

'getter VideoTrack item(unsigned long index);' <- In 'VideoTrackList.idl'.

Just wanted to raise the bug to track it.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-09-01 23:35:45 PDT
<rdar://problem/114859385>