Refactor Video,Audio,TextTrack and TrackLists to not depend on HTMLMediaElement
Created attachment 437369 [details] Patch
Created attachment 437557 [details] Patch
Created attachment 437560 [details] Patch
Created attachment 437567 [details] Patch
Created attachment 437585 [details] Patch
Created attachment 437635 [details] Patch
Created attachment 437649 [details] Patch
Created attachment 437650 [details] Patch
Committed r282220 (241507@main): <https://commits.webkit.org/241507@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 437650 [details].
<rdar://problem/82929817>
Comment on attachment 437650 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=437650&action=review > Source/WebCore/Modules/mediasource/SourceBuffer.cpp:638 > + m_videoTracks = VideoTrackList::create(scriptExecutionContext()); > + m_videoTracks->setOpaqueRootObserver(m_opaqueRootProvider); Maybe we should cal this setOpaqueRootProvider? Or better yet, maybe the create function should take it as an argument.