Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 823024a704caeaeeb05c1fc3cf8bd6a095081d5d
https://github.com/WebKit/WebKit/commit/823024a704caeaeeb05c1fc3cf8bd6a095081d5d
Author: Tim Nguyen <[email protected]>
Date: 2022-12-08 (Thu, 08 Dec 2022)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-consume-user-activation-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-consume-user-activation.html
A
LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-same-element-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-same-element.html
M LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/w3c-import.log
A
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-same-element-expected.txt
M Source/WebCore/dom/FullscreenManager.cpp
Log Message:
-----------
Make requestFullscreen() consume user activation
https://bugs.webkit.org/show_bug.cgi?id=247920
rdar://102355401
Reviewed by Youenn Fablet.
Matches Chrome & Firefox implementations, we should reset the activation
timestamps when requesting fullscreen.
This disallows double non-user initiated requestFullscreen calls.
Spec PR: https://github.com/whatwg/fullscreen/pull/153
WPT upstream revision:
https://github.com/web-platform-tests/wpt/commit/897b406f2925a22025d62001a5f7e97096e3f5a0
*
LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-consume-user-activation-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-consume-user-activation.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-same-element-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-same-element.html:
Added.
* LayoutTests/imported/w3c/web-platform-tests/fullscreen/api/w3c-import.log:
*
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/fullscreen/api/element-request-fullscreen-same-element-expected.txt:
Added.
* Source/WebCore/dom/FullscreenManager.cpp:
(WebCore::FullscreenManager::requestFullscreenForElement):
Canonical link: https://commits.webkit.org/257554@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes