-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backgrounded Tabs and WebXR #1364
Comments
When you say tabs - do you mean the page that opened WebXR or all other pages? This seems most critical for the page that the WebXR user is currently in. Is running in the background towards the goal of being able to access a webpage in WebXR in the foreground? For example, a webpage running in the background on a PC can do screen capture to put itself on a texture and make itself visible in WebXR. Being able to render in the background is really good. The best possible situation seems like being able to view it in the foreground in real WebXR. Once we can do that in browsers, I think these background expectation will hold stronger too. Spec'ing that webpages should still be expected to be able to be fully functional webpages with WebXR is a good expectation to set. |
Similar previous issue: #1317 |
I'd be curious what the relationship is to |
The spec calls some of it out: "An active immersive session MAY affect the rendering opportunity of a browsing context if it causes the page to be obscured." Do we need more discussion on this topic? |
The default assumption for WebXR is an external dumb display connected to an external computer which still displays the browser and handles the rendering. When the user enters WebXR the page continues rendering as usual.
/facetoface All-in-one devices such as the Apple Vision Pro and Meta Quest hide the browser to focus rendering resources on the WebXR content. As part of hiding the browser the page itself still has to sort-of run as some content needs to be updated but other content does not update. I don’t think it is specced out anywhere which bits keep running and which bits don’t but to ensure cross compatibility we should establish this somewhere.
Here are some examples of the buckets and examples of things in each:
Things which should keep working:
Things which definitely should not work:
Things that are a maybe:
The text was updated successfully, but these errors were encountered: