MSE-in-Workers: {Audio,Video,Text}Track{,List} IDL in HTML need additional DedicatedWorker in Exposed · Issue #280 · w3c/media-source (original) (raw)
MSE-in-Workers feature issue is #175.
This issue tracks making sure the extended HTML AudioTrack, VideoTrack, TextTrack, and their *TrackList IDLs are all updated to have exposure to both Window and DedicatedWorker, not just Window.
In the initial spec draft of MSE-in-Workers, the assumption is made that such exposure is already included in HTML, but at the moment of filing this issue, it hasn't.
Per WebIDL https://heycam.github.io/webidl/#Exposed, it looks like HTML spec's original definitions of these IDL would need to include DedicatedWorker in their Exposed (otherwise, some significant rework or even removal of track/tracklist visibility in MSE-in-Worker would be necessary):
If [Exposed] appears on a partial interface or partial namespace, then the partial’s own exposure set must be a subset of the exposure set of the partial’s original interface or namespace.