[Webkit-unassigned] [Bug 186971] Paused video improperly inhibits sleep

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 25 12:36:11 PDT 2018


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

Philippe Normand <pnormand at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.carlson at apple.com

--- Comment #4 from Philippe Normand <pnormand at igalia.com> ---
(In reply to Philippe Normand from comment #2)
> The problem is two-fold:
> 
> - the visibility of the media element changed but
> HTMLMediaElement::shouldDisableSleep() returns too early the None result,
> before checking the m_elementIsHidden variable.
> 

Eric, would it be acceptable to move the the m_elementIsHidden test up in HTMLMediaElement::shouldDisableSleep() ?

-- 
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/20180625/acc77863/attachment.html>


More information about the webkit-unassigned mailing list