Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0d8281c39722575779f9b4fcdd97e34afd3df055
https://github.com/WebKit/WebKit/commit/0d8281c39722575779f9b4fcdd97e34afd3df055
Author: Fujii Hironori <[email protected]>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_inputSources.https-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_refSpaces.https-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_transientInputSources.https-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_unlocalizable.https-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/webxr/xrViewport_valid.https-expected.txt
R
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webxr/webxr_availability.http.sub-expected.txt
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
M Source/WebCore/Modules/webxr/WebXRSession.cpp
M Source/WebCore/dom/DOMPointInit.idl
M Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
A Source/WebCore/testing/FakeXRWorldInit.h
A Source/WebCore/testing/FakeXRWorldInit.idl
M Source/WebCore/testing/WebFakeXRDevice.cpp
M Source/WebCore/testing/WebFakeXRDevice.h
M Source/WebCore/testing/WebFakeXRDevice.idl
M Source/WebCore/testing/WebXRTest.cpp
M Source/WebCore/testing/WebXRTest.h
M Source/WebCore/testing/WebXRTest.idl
Log Message:
-----------
WebXR Test API Hit Test extensions
https://bugs.webkit.org/show_bug.cgi?id=301463
Reviewed by Sergio Villar Senin.
Implemented the Hit Test extensions of WebXR Test API by porting
Chromium webxr-test.js to C++.
Found out and fixed a bug. As per the spec, in requestHitTestSource
and requestHitTestSourceForTransientInput, if the entityTypes was not
provided, the effective entityTypes should be set to an array
containing single element, "plane".
Tests:
imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_transientInputSources.https.html
*
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_inputSources.https-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_refSpaces.https-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_transientInputSources.https-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webxr/hit-test/ar_hittest_subscription_unlocalizable.https-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/webxr/xrViewport_valid.https-expected.txt:
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webxr/webxr_availability.http.sub-expected.txt:
Removed a duplicated expectation.
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/webxr/WebXRSession.cpp:
(WebCore::entityTypesFromOptions):
(WebCore::WebXRSession::requestHitTestSource):
(WebCore::WebXRSession::requestHitTestSourceForTransientInput):
* Source/WebCore/dom/DOMPointInit.idl:
* Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:
* Source/WebCore/testing/FakeXRWorldInit.h: Added.
* Source/WebCore/testing/FakeXRWorldInit.idl: Added.
* Source/WebCore/testing/WebFakeXRDevice.cpp:
(WebCore::SimulatedXRDevice::frameTimerFired):
(WebCore::SimulatedXRDevice::requestHitTestSource):
(WebCore::SimulatedXRDevice::requestTransientInputHitTestSource):
(WebCore::SimulatedXRDevice::hitTestWorld):
(WebCore::SimulatedXRDevice::setWorld):
(WebCore::SimulatedXRDevice::clearWorld):
(WebCore::WebFakeXRDevice::setWorld):
(WebCore::WebFakeXRDevice::clearWorld):
* Source/WebCore/testing/WebFakeXRDevice.h:
* Source/WebCore/testing/WebFakeXRDevice.idl:
* Source/WebCore/testing/WebXRTest.cpp:
(WebCore::WebXRTest::simulateDeviceConnection):
* Source/WebCore/testing/WebXRTest.h:
* Source/WebCore/testing/WebXRTest.idl:
Canonical link: https://commits.webkit.org/303898@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications