Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7540c603a777f4b0470ae0d60a7f1f848de9c1d8
      
https://github.com/WebKit/WebKit/commit/7540c603a777f4b0470ae0d60a7f1f848de9c1d8
  Author: Fujii Hironori <[email protected]>
  Date:   2025-11-13 (Thu, 13 Nov 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_states_regular.https-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_states_transient.https-expected.txt
    M Source/WebCore/Modules/webxr/WebXRSession.cpp

  Log Message:
  -----------
  [WebXR] hit test subscription should fail if the feature was not requested
https://bugs.webkit.org/show_bug.cgi?id=302322

Reviewed by Adrian Perez de Castro and Sergio Villar Senin.

requestHitTestSource and requestHitTestSourceForTransientInput of XRSession
interface have to check the hit-test feature was requested.
<https://immersive-web.github.io/hit-test/#dom-xrsession-requesthittestsource>

Tests: 
imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_states_regular.https.html
       
imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_states_transient.https.html

* 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_states_regular.https-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_states_transient.https-expected.txt:
* Source/WebCore/Modules/webxr/WebXRSession.cpp:
(WebCore::WebXRSession::requestHitTestSource):
(WebCore::WebXRSession::requestHitTestSourceForTransientInput):

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



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

Reply via email to