RESOLVED FIXED 223520
[WebXR] Enumerate XR devices via ChromeClient in WebXRSystem
https://bugs.webkit.org/show_bug.cgi?id=223520
Summary [WebXR] Enumerate XR devices via ChromeClient in WebXRSystem
Ada Chan
Reported 2021-03-19 09:57:42 PDT
[WebXR] Enumerate XR devices via ChromeClient in WebXRSystem
Attachments
Patch (5.90 KB, patch)
2021-03-19 09:59 PDT, Ada Chan
no flags
Patch (6.87 KB, patch)
2021-03-19 11:12 PDT, Ada Chan
no flags
Ada Chan
Comment 1 2021-03-19 09:59:52 PDT
Sam Weinig
Comment 2 2021-03-19 10:34:38 PDT
Comment on attachment 423741 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423741&action=review > Source/WebCore/ChangeLog:14 > + * Modules/webxr/WebXRSystem.cpp: > + (WebCore::WebXRSystem::ensureImmersiveXRDeviceIsSelected): > + * WebCore.xcodeproj/project.pbxproj: > + * page/ChromeClient.h: > + (WebCore::ChromeClient::enumerateImmersiveXRDevices): > + * platform/xr/PlatformXR.h: > + Ada, can you fill this out, including the rationale for this? Specifically, that we want to avoid singletons in the WebProcess and want to be able to proxy the devices from the UIProcess.
Ada Chan
Comment 3 2021-03-19 11:12:30 PDT
EWS
Comment 4 2021-03-22 17:05:34 PDT
Committed r274821: <https://commits.webkit.org/r274821> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423749 [details].
Radar WebKit Bug Importer
Comment 5 2021-03-22 17:07:10 PDT
Note You need to log in before you can comment on or make changes to this bug.