Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cfcefc3019b7a9e6e2e643a2d6cf6529debf69be
      
https://github.com/WebKit/WebKit/commit/cfcefc3019b7a9e6e2e643a2d6cf6529debf69be
  Author: Fujii Hironori <[email protected]>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebXR.cpp
    M Tools/TestWebKitAPI/glib/TestExpectations.json

  Log Message:
  -----------
  [GLib] Add API tests for WebKitXRPermissionRequest
https://bugs.webkit.org/show_bug.cgi?id=299585

Reviewed by Adrian Perez de Castro.

Added API tests for WebKitXRPermissionRequest.

featureRequiresExplicitConsent() in
Source/WebCore/Modules/webxr/WebXRSystem.cpp returns true only for
`PlatformXR::SessionFeature::HandTracking`. Thus, hand-tracking is the
only explicit consent required feature. All other features are always
implicitly granted.

However, Monado doesn't support hand-tracking. We can't make a
meaningful API test for consent required features and consent optional
features at the moment.

* Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebXR.cpp:
(testWebKitXRPermissionRequest):
(beforeAll):
* Tools/TestWebKitAPI/glib/TestExpectations.json:

Canonical link: https://commits.webkit.org/300621@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

Reply via email to