Skip to content
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

Correctly add 'dom-overlay' to optionalFeatures in case of an 'immersive-ar' session #152

Merged
merged 1 commit into from
May 26, 2022

Conversation

mrxz
Copy link
Contributor

@mrxz mrxz commented May 26, 2022

When trying out the report page on the Pico Browser of the Pico Neo3 Link, the 'Begin Session' button for immersive-ar did nothing. Hooking up a debugger showed an error that optionalFeatures was not defined. A quick look at the code revealed that it indeed attempts to add the dom-overlay directly to optionalFeatures, but this is part of the sessionOptions. This PR fixes that issue.

@mrxz
Copy link
Contributor Author

mrxz commented May 26, 2022

It seems there's already a PR with this exact same fix: #117 I'm closing this one. Leaving this one open since the other one has conflicts due to being a year old.

@mrxz mrxz closed this May 26, 2022
@mrxz mrxz reopened this May 26, 2022
@msub2 msub2 requested a review from toji May 26, 2022 15:49
@sorskoot
Copy link

I'll close mine (#117) in favor of this one. It's exactly the same fix.

@klausw klausw merged commit 9e1b8f5 into immersive-web:main May 26, 2022
@klausw
Copy link
Contributor

klausw commented May 26, 2022

Thanks for the fix, sorry about missing the earlier one.

@toji
Copy link
Member

toji commented May 26, 2022

Thanks Klaus, and I'm also sorry about missing the previous fix! Thank you for bringing it to our attention again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants