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

Only positive frequency values should be accepted #459

Open
rakuco opened this issue May 15, 2023 · 0 comments
Open

Only positive frequency values should be accepted #459

rakuco opened this issue May 15, 2023 · 0 comments

Comments

@rakuco
Copy link
Member

rakuco commented May 15, 2023

This came out of a discussion in https://chromium-review.googlesource.com/c/chromium/src/+/4506352 -- the spec currently has no requirements on whether SensorOptions["frequency"] should be > 0 even though a negative frequency value does not make much sense.

(It is important to note that, as stated in https://w3c.github.io/sensors/#initialize-a-sensor-object, specifying a frequency value in SensorOptions does not mean said value will be adopted by the implementation or used by the platform sensor)

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