-
Notifications
You must be signed in to change notification settings - Fork 32
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
How reliable is interval? #185
Comments
I've always interpreted Note that |
Ok, yeah, that makes sense. I haven't check, but it would be interesting to see how reliable interval is and it changes in any way. |
I guess I'm also wondering if it does change, then why does it change... for instance, if it changes because of battery or anything else (e.g., the phone gets plugged in), it might be a privacy leak. |
In Chromium at least it is hard-coded to 16ms. |
The
interval
attribute assumes that the user agent will fire the event, which doesn't make much sense because the user agent could fire as little or as often as it wants (based on a significant change of motion) and other environmental conditions.Couldn't the interval between events be more accurately been gleamed from comparing the
.timeStamp
between two events?The text was updated successfully, but these errors were encountered: