Bug 264993 - Sync 'MediaSource' with WebIDL Specification
Summary: Sync 'MediaSource' with WebIDL Specification
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-16 16:25 PST by Ahmad Saleem
Modified: 2024-04-18 03: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-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);