Skip to content

Edit requestSession() and Initialize the session#601

Merged
toji merged 1 commit intoimmersive-web:masterfrom
jungkees:edit-requestsession
Apr 23, 2019
Merged

Edit requestSession() and Initialize the session#601
toji merged 1 commit intoimmersive-web:masterfrom
jungkees:edit-requestsession

Conversation

@jungkees
Copy link
Copy Markdown
Contributor

This change fixes strings to the XRSessionMode values, uses the same format for
DOMExceptions, and makes the Initialize the session algorithm more explicit by
defining parameters to it. This does not have any behavioral change.

This change fixes strings to the XRSessionMode values, uses the same format for
DOMExceptions, and makes the Initialize the session algorithm more explicit by
defining parameters to it. This does not have any behavioral change.
Copy link
Copy Markdown
Contributor

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, most other specs very carefully separate attributes ({{XRSession/mode}}) from the internal parameters (|mode|) they reflect, I was surprised that this wasn't being done here. I definitely support moving closer towards this model for this spec, it's much easier to evolve spec-wise.

@toji
Copy link
Copy Markdown
Member

toji commented Apr 23, 2019

Thank you very much.

@toji toji merged commit 15f0ef6 into immersive-web:master Apr 23, 2019
@jungkees
Copy link
Copy Markdown
Contributor Author

Thanks for reviewing and merging this!

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.

3 participants