Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 056f4d4a7024092eb5d6c8756c0c5010ae8b8789
https://github.com/WebKit/WebKit/commit/056f4d4a7024092eb5d6c8756c0c5010ae8b8789
Author: Sergio Villar Senin <[email protected]>
Date: 2025-09-23 (Tue, 23 Sep 2025)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState_inline.https-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState_inline.https.html
M LayoutTests/platform/wpe/TestExpectations
M Source/WebCore/Modules/webxr/WebXRSession.cpp
M Source/WebCore/Modules/webxr/WebXRSession.h
Log Message:
-----------
[WebXR] Inline sessions do not correctly update the visibilitystate
https://bugs.webkit.org/show_bug.cgi?id=299302
Reviewed by Dan Glastonbury.
Each XRSession has a visibility state value. For inline sessions the
visibility state MUST mirror the Document’s visibilityState. Modified
the WebXR session so it listens to Document's changes in visibility
and updates its state accordingly.
Test:
imported/w3c/web-platform-tests/webxr/xrSession_visibilityState_inline.https.html
Test:
imported/w3c/web-platform-tests/webxr/xrSession_visibilityState_inline.https.html
*
LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState_inline.https-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState_inline.https.html:
Added.
* LayoutTests/platform/wpe/TestExpectations:
* Source/WebCore/Modules/webxr/WebXRSession.cpp:
(WebCore::WebXRSession::WebXRSession):
(WebCore::WebXRSession::~WebXRSession):
(WebCore::WebXRSession::visibilityStateChanged):
* Source/WebCore/Modules/webxr/WebXRSession.h:
Canonical link: https://commits.webkit.org/300383@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes