Bug 264993

Summary: Sync 'MediaSource' with WebIDL Specification
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: NEW ---    
Severity: Normal CC: jean-yves.avenard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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

While looking into 'Browser Specific Failures' in WebRTC, I also came across some missing bits in MediaSource.idl, so I thought to raise this bug.

Web-Spec:

// https://w3c.github.io/media-source/#dom-endofstreamerror 

// https://w3c.github.io/media-source/#dom-readystate

// https://w3c.github.io/media-source/#dom-mediasource

In 'MediaSource' interface, we are missing 'Exposed=(Window,DedicatedWorker)'.

It might progress few tests cases here: http://wpt.live/media-source/idlharness.window.html

Just wanted to raise so we can fix it.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-11-23 16:26:16 PST
<rdar://problem/118756434>
Comment 2 Ahmad Saleem 2024-04-18 03:15:34 PDT
It is done now. Only thing pending is to add web-spec link and also remove [NewObject] from:

[NewObject] SourceBuffer addSourceBuffer(DOMString type);

to

SourceBuffer addSourceBuffer(DOMString type);