New issue
Advanced search Search tips

Issue 907259 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Proj-VR
Proj-XR-AR
Proj-XR



Sign in to add a comment

Ensure that convertIdlOptionsToMojo gets updated when IDL for XRSessionCreationOptions changes

Project Member Reported by bialpio@chromium.org, Nov 20

Issue description

We should make sure that changing IDL for XRSessionCreationOptions results in a compile-time error in convertIdlOptionsToMojo to ensure that we inspect all the relevant fields when creating XRSessionOptions.

One way to achieve that would be to call XRSessionOptions::New() overload that explicitly takes 4 parameters (at the time of writing) - this would cause a compiler break every time a mojo interface gets regenerated and give the developer an opportunity to make sure that the conversion from IDL to mojo happens the way it should.
 

Sign in to add a comment