Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e8032440e4aed34eeb637b153757c03f9ecdeac1
      
https://github.com/WebKit/WebKit/commit/e8032440e4aed34eeb637b153757c03f9ecdeac1
  Author: Dana Estra <[email protected]>
  Date:   2026-08-28 (Fri, 28 Aug 2026)

  Changed paths:
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/html/HTMLMediaElement.h
    M Source/WebCore/page/QuirkNames.h
    M Source/WebCore/page/QuirkTable.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  ESPN.com on iPhone: After exiting full screen, video pauses and tapping the 
resume button doesn’t do anything on espn.com
https://bugs.webkit.org/show_bug.cgi?id=322670
rdar://184169028

Reviewed by Jer Noble.

When exiting video fullscreen on espn.com on iPhone, the video gets stuck in a 
paused
state. The quirk NeedsPauseBeforeFullscreenExit was added to fix this however 
it no
longer works with the current configuration of the website.

This patch removes the old quirk and adds a new one 
NeedsSuppressedPauseEventOnFullscreenExit.
The quirk prevents the pause event from being dispatched while fullscreen is 
being exited. This
allows the site's internal state machine to remain in allignment with the real 
state of the video.

No new tests.

* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::pause):
(WebCore::HTMLMediaElement::pauseInternal):
(WebCore::HTMLMediaElement::exitFullscreen):
* Source/WebCore/html/HTMLMediaElement.h:
* Source/WebCore/page/Quirks.cpp:
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:

Canonical link: https://commits.webkit.org/320051@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to