Changeset 252183 in webkit


Ignore:
Timestamp:
Nov 7, 2019 6:55:13 AM (4 years ago)
Author:
commit-queue@webkit.org
Message:

ASSERTION FAILED: m_clientCounts.contains(contextId) in WebKit::VideoFullscreenManagerProxy::removeClientForContext(uint64_t)
https://bugs.webkit.org/show_bug.cgi?id=203918

Patch by Peng Liu <Peng Liu> on 2019-11-07
Reviewed by Jer Noble.

Postpone the transition to exit fullscreen of a video element
before the previous transition of fullscreen mode change is completed.

Fix a flakey layout test (media/video-autoplay.html). No new test is needed.

  • WebProcess/cocoa/VideoFullscreenManager.mm:

(WebKit::VideoFullscreenManager::exitVideoFullscreenForVideoElement):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r252180 r252183  
     12019-11-07  Peng Liu  <peng.liu6@apple.com>
     2
     3        ASSERTION FAILED: m_clientCounts.contains(contextId) in WebKit::VideoFullscreenManagerProxy::removeClientForContext(uint64_t)
     4        https://bugs.webkit.org/show_bug.cgi?id=203918
     5
     6        Reviewed by Jer Noble.
     7
     8        Postpone the transition to exit fullscreen of a video element
     9        before the previous transition of fullscreen mode change is completed.
     10
     11        Fix a flakey layout test (media/video-autoplay.html). No new test is needed.
     12
     13        * WebProcess/cocoa/VideoFullscreenManager.mm:
     14        (WebKit::VideoFullscreenManager::exitVideoFullscreenForVideoElement):
     15
    1162019-11-07  Carlos Garcia Campos  <cgarcia@igalia.com>
    217
  • trunk/Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm

    r251834 r252183  
    300300    interface.setTargetIsFullscreen(false);
    301301
    302     if (interface.animationState() == VideoFullscreenInterfaceContext::AnimationType::FromFullscreen)
     302    if (interface.animationState() != VideoFullscreenInterfaceContext::AnimationType::None)
    303303        return;
    304304    interface.setAnimationState(VideoFullscreenInterfaceContext::AnimationType::FromFullscreen);
Note: See TracChangeset for help on using the changeset viewer.