Bug 257037

Summary: [ManagedMSE] JS ManagedSourceBuffer object doesn't present any of its attributes
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Jean-Yves Avenard [:jya] 2023-05-19 09:12:36 PDT
When you call `addSourceBuffer` on a ManagedMediaSource you actually get a `ManagedSourceBuffer`; however as far as the JS binding is concerned, the object looks only like a `MediaSource` and none of its IDL methods are actually usable.

The appropriate custom `toJS` methods are missing and so the wrong JS wrapper type is created (a JSSourceBuffer instead of JSManagedSourceBuffer)
Comment 1 Radar WebKit Bug Importer 2023-05-19 09:12:59 PDT
<rdar://problem/109569570>
Comment 2 Jean-Yves Avenard [:jya] 2023-05-19 11:52:17 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14092
Comment 3 EWS 2023-05-19 20:36:06 PDT
Committed 264284@main (202d7e72c2c6): <https://commits.webkit.org/264284@main>

Reviewed commits have been landed. Closing PR #14092 and removing active labels.