The DeviceProxy will provide the recommended resolution, which is then used by WebXROpaqueFramebuffer to create backing store of the correct dimensions.
<rdar://problem/78635475>
Created attachment 430068 [details] Patch
Comment on attachment 430068 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=430068&action=review > Source/WebKit/Shared/Cocoa/XRDeviceInfo.h:45 > + WebCore::IntSize recommendedResolution { 1, 1 }; Seems fine, though I slightly question the default of 1x1 instead of just the default IntSize (0x0). Neither one is particularly useful?
Created attachment 430144 [details] EWS test
Committed r278258 (238295@main): <https://commits.webkit.org/238295@main>