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   

Jean-Yves Avenard [:jya]
Reported 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)
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-19 09:12:59 PDT
Jean-Yves Avenard [:jya]
Comment 2 2023-05-19 11:52:17 PDT
EWS
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.