Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1802b55bf3640881f6b75e29e39ffcd6596f0f52
      
https://github.com/WebKit/WebKit/commit/1802b55bf3640881f6b75e29e39ffcd6596f0f52
  Author: Fujii Hironori <[email protected]>
  Date:   2026-01-05 (Mon, 05 Jan 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_inputSources_gripSpace.https-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_inputSources_gripSpace.https.html
    M Source/WebCore/Modules/webxr/WebXRInputSource.cpp
    M Source/WebCore/Modules/webxr/WebXRInputSpace.cpp
    M Source/WebCore/Modules/webxr/WebXRInputSpace.h
    M Source/WebCore/testing/WebFakeXRDevice.cpp

  Log Message:
  -----------
  [WebXR Hit Test] Distinguish gripSpace of an input source to targetRaySpace
https://bugs.webkit.org/show_bug.cgi?id=303954

Reviewed by Sergio Villar Senin.

WebXRInputSpace method nativeOriginInformation() always returned
PlatformXR::InputSourceSpaceType::TargetRay even for gripSpace. It should
return PlatformXR::InputSourceSpaceType::Grip for it.

Test: 
imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_inputSources_gripSpace.https.html

* 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_inputSources_gripSpace.https-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_inputSources_gripSpace.https.html:
 Added.
* Source/WebCore/Modules/webxr/WebXRInputSource.cpp:
(WebCore::WebXRInputSource::update):
* Source/WebCore/Modules/webxr/WebXRInputSpace.cpp:
(WebCore::WebXRInputSpace::nativeOriginInformation const):
* Source/WebCore/Modules/webxr/WebXRInputSpace.h:
(WebCore::WebXRInputSpace::setType):
* Source/WebCore/testing/WebFakeXRDevice.cpp:
(WebCore::SimulatedXRDevice::frameTimerFired):

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



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

Reply via email to