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

Specify behavior when device sensor is no longer available #471

Open
rakuco opened this issue Aug 29, 2023 · 0 comments
Open

Specify behavior when device sensor is no longer available #471

rakuco opened this issue Aug 29, 2023 · 0 comments

Comments

@rakuco
Copy link
Member

rakuco commented Aug 29, 2023

This originally came up in #470's review. It adds a note that says:

The behavior of platform sensors and Sensor instances when a device sensor in use stops being available (e.g. it has been physically disconnected, or stopped due to a factor unrelated to the User Agent) is not specified. Implementations may, among other things, keep existing Sensor instances unchanged (they simply will not report new readings), deactivate a sensor object or cause the platform sensor to report an error that will ultimately result in notify error being invoked.

We should probably specify the behavior here instead of leaving it implementation-defined.

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

No branches or pull requests

1 participant