A mistake introduced with the WebKitMediaSrc v2 patch made the call to updateTracks() in MediaPlayerPrivateGStreamer asynchronous. This introduced a subtle race condition in which the "resize" event may be handled before updateTracks() is called, therefore m_hasVideo has not yet been set to true, and querying the video size from the "resize" event handler returns 0x0. This fixes a timeout flake in media/media-source/media-source-resize.html.
Created attachment 434983 [details] Patch
Committed r280775 (240359@main): <https://commits.webkit.org/240359@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434983 [details].