[WebXR] A session with only one view should cover the full screen
<rdar://problem/81940621>
Created attachment 435542 [details] Patch
Comment on attachment 435542 [details] Patch Looks good!
Created attachment 435714 [details] Patch
Comment on attachment 435714 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=435714&action=review > Source/WebCore/Modules/webxr/WebXRWebGLLayer.cpp:327 > + if (m_session->mode() == XRSessionMode::ImmersiveVr && m_session->views().size() > 1) { Odd that "number of views is > 1" then goes around and assumes it's 2. I guess we won't need WebXR for spiders any time soon. > LayoutTests/http/wpt/webxr/resources/webxr_test_constants_single_view.js:150 > + supportsImmersive: true, This file is fairly chaotic indentationwise (as are the others)
Committed r281331 (240748@main): <https://commits.webkit.org/240748@main>