The current implementation of WebXR opaque framebuffer forces the multisample count to 4 instead of capping it at that precise level.
the code is correct