Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6b09fa8586148cd027a289c0a035b28150be7f4
https://github.com/WebKit/WebKit/commit/e6b09fa8586148cd027a289c0a035b28150be7f4
Author: BJ Burg <[email protected]>
Date: 2023-12-16 (Sat, 16 Dec 2023)
Changed paths:
M Source/WebCore/html/HTMLMediaElement.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSuspendAllMediaPlayback.mm
Log Message:
-----------
Element fullscreen requests should be ignored while media is suspended.
rdar://116595009
Reviewed by Jer Noble.
It is undesirable to allow entering element fullscreen while media is suspended.
Check for this condition and bail out if needed.
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::enterFullscreen):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSuspendAllMediaPlayback.mm:
(TEST): Added test case.
Originally-landed-as: 267815.495@safari-7617-branch (64b3c403419f).
rdar://119598052
Canonical link: https://commits.webkit.org/272172@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes