Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd50c33408a4ec0f942985bc7c502538e7450f8a
      
https://github.com/WebKit/WebKit/commit/cd50c33408a4ec0f942985bc7c502538e7450f8a
  Author: Fujii Hironori <[email protected]>
  Date:   2025-12-18 (Thu, 18 Dec 2025)

  Changed paths:
    M Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebXR.cpp

  Log Message:
  -----------
  REGRESSION(304450@main): [WebXR Hit Test][OpenXR] Add null checks of the 
return value of OpenXRHitTestManager::create()
https://bugs.webkit.org/show_bug.cgi?id=304221

Reviewed by Sergio Villar Senin.

OpenXRHitTestManager::create() may return null if required OpenXR extentions
aren't available. OpenXRCoordinator methods requestHitTestSource and
requestTransientInputHitTestSource have to do null checks, and throws
NotSupportedError.

Test: Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebXR.cpp

* Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp:
(WebKit::OpenXRCoordinator::requestHitTestSource):
(WebKit::OpenXRCoordinator::requestTransientInputHitTestSource):
* Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebXR.cpp:
(testWebKitXRHitTest):
(beforeAll):

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



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

Reply via email to