Bug 294618

Summary: [WPE] Remove OpenXR based WebXR implementation
Product: WebKit Reporter: Sergio Villar Senin <svillar>
Component: New BugsAssignee: Sergio Villar Senin <svillar>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225483

Sergio Villar Senin
Reported 2025-06-17 10:08:21 PDT
The current platform code that implements the WebXR API using OpenXR should not be part of the WebProcess. There are several issues with that 1. OpenXR requires access to the filesystem (to locate and link the OpenXR loader). This alone is a no-go as it breaks the sandbox 2. Access to external swapchains (like the OpenXR ones) should not happen inside the WebProcess 3. Event and input processing should not happen in the main thread of the WebProcess. Also they should not depend on the request animation frame rate And some others. We should move it to the UIProcess as the Cocoa implementation does.
Attachments
Sergio Villar Senin
Comment 1 2025-06-17 10:21:40 PDT
EWS
Comment 2 2025-06-18 01:19:33 PDT
Committed 296365@main (9a901cc02017): <https://commits.webkit.org/296365@main> Reviewed commits have been landed. Closing PR #46859 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-06-18 01:21:21 PDT
Note You need to log in before you can comment on or make changes to this bug.