[Webkit-unassigned] [Bug 163529] [GTK] Layout test media/video-playback-restriction-play-before-load.html is failing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 15 08:27:22 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=163529
Ms2ger <Ms2ger at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Ms2ger at igalia.com
--- Comment #1 from Ms2ger <Ms2ger at igalia.com> ---
What appears to happen here is that we call HTMLMediaElement::setReadyState(), and
m_readyState == HAVE_FUTURE_DATA && oldState <= HAVE_CURRENT_DATA && tracksAreReady
is true, as well as potentiallyPlaying(), so we call scheduleNotifyAboutPlaying(). Only later in the function do we call pauseInternal(), which enqueues a call to rejectPendingPlayPromises().
This means that by the time we try to reject the promise, it's already been resolved. The only obviously related platform-specific code is MediaPlayerPrivateGStreamer::hasAudio(), so I don't know how this would work on mac.
--
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/20170815/7f4ff5e1/attachment-0001.html>
More information about the webkit-unassigned
mailing list