Bug 260763

Summary: Sync with IDL spec and remove usage of 'item()' from track related IDLs
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: karlcow, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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>