[Webkit-unassigned] [Bug 221688] [GPUP] Two tests related to media element state are flaky when media in GPU Process is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 2 15:02:27 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221688

--- Comment #3 from Peng Liu <peng.liu6 at apple.com> ---
Looks like when we run MediaPlayerPrivateAVFoundationObjC in the GPU process, MediaPlayerPrivateAVFoundation::m_networkState changes from MediaPlayer::NetworkState::Loading to MediaPlayer::NetworkState::Loaded quickly, and HTMLMediaElement is notified (HTMLMediaElement::setNetworkState() is called) before the "loadstart" event handler haves the chance to execute.

HTMLMediaElement::setNetworkState() will set m_networkState to NETWORK_IDLE in the process, but the test expects expects m_networkState to be NETWORK_LOADING in the "loadstart" event handler.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210302/f2e2ca09/attachment-0001.htm>


More information about the webkit-unassigned mailing list