Title: [252293] tags/Safari-609.1.10.1/Source/WebKit
Revision
252293
Author
[email protected]
Date
2019-11-08 16:52:19 -0800 (Fri, 08 Nov 2019)

Log Message

Cherry-pick r252183. rdar://problem/54769320

    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 <[email protected]> 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):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: tags/Safari-609.1.10.1/Source/WebKit/ChangeLog (252292 => 252293)


--- tags/Safari-609.1.10.1/Source/WebKit/ChangeLog	2019-11-09 00:52:17 UTC (rev 252292)
+++ tags/Safari-609.1.10.1/Source/WebKit/ChangeLog	2019-11-09 00:52:19 UTC (rev 252293)
@@ -1,5 +1,40 @@
 2019-11-07  Alan Coon  <[email protected]>
 
+        Cherry-pick r252183. rdar://problem/54769320
+
+    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 <[email protected]> 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):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-11-07  Peng Liu  <[email protected]>
+
+            ASSERTION FAILED: m_clientCounts.contains(contextId) in WebKit::VideoFullscreenManagerProxy::removeClientForContext(uint64_t)
+            https://bugs.webkit.org/show_bug.cgi?id=203918
+
+            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):
+
+2019-11-07  Alan Coon  <[email protected]>
+
         Cherry-pick r252172. rdar://problem/56580680
 
     REGRESSION: [ iOS ] ( r251015 ) Layout Test fast/text/whitespace/pre-wrap-overflow-selection.html is flaky

Modified: tags/Safari-609.1.10.1/Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm (252292 => 252293)


--- tags/Safari-609.1.10.1/Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm	2019-11-09 00:52:17 UTC (rev 252292)
+++ tags/Safari-609.1.10.1/Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm	2019-11-09 00:52:19 UTC (rev 252293)
@@ -299,7 +299,7 @@
 
     interface.setTargetIsFullscreen(false);
 
-    if (interface.animationState() == VideoFullscreenInterfaceContext::AnimationType::FromFullscreen)
+    if (interface.animationState() != VideoFullscreenInterfaceContext::AnimationType::None)
         return;
     interface.setAnimationState(VideoFullscreenInterfaceContext::AnimationType::FromFullscreen);
     m_page->send(Messages::VideoFullscreenManagerProxy::ExitFullscreen(contextId, inlineVideoFrame(videoElement)));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to