Bug 264939

Summary: Sync 'VideoTrack+MediaSource.idl', 'AudioTrack+MediaSource.idl' and 'TextTrack+MediaSource.idl' with WebIDL Specification
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-11-16 04:42:32 PST
Hi Team,

While going through WPT failures, I noticed that we failing following three tests on WPT:

WPT Test Live link: http://wpt.live/media-source/idlharness.window.html

> AudioTrack interface: attribute sourceBuffer	
> VideoTrack interface: attribute sourceBuffer	
> TextTrack interface: attribute sourceBuffer	

Because our 'IDL' files are missing:

Exposed=(Window,DedicatedWorker)

Adding them locally progress these failing tests.

Just raising so I can fix them.

Thanks!
Comment 1 Ahmad Saleem 2023-11-16 04:43:54 PST
Web-Spec: https://w3c.github.io/media-source/#idl-def-mediasource
Comment 3 Ahmad Saleem 2023-11-16 15:35:31 PST
We do not support MSE in a Worker yet, so let's not exposed it to DedicatedWorker yet

^ Comment on PR by Jean-Yves Avenard.
Comment 4 Ahmad Saleem 2023-11-16 15:50:03 PST
PR attempt for future reference to do quick changes: https://github.com/WebKit/WebKit/pull/20600
Comment 5 EWS 2023-11-17 01:39:21 PST
Committed 270873@main (83b09d3dc323): <https://commits.webkit.org/270873@main>

Reviewed commits have been landed. Closing PR #20637 and removing active labels.
Comment 6 Radar WebKit Bug Importer 2023-11-17 01:40:14 PST
<rdar://problem/118554737>