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

devicemotion event support is removed from chrome 74 on using http:// protocol. works fine with https:// #345

Closed
amanonymous opened this issue May 2, 2019 · 1 comment

Comments

@amanonymous
Copy link

webvr-polyfill.js:2292 [Deprecation] The devicemotion event is deprecated on insecure origins and will be removed in M76, around July 2019. Event handlers can still be registered but are no longer invoked since M74, around April 2019. See https://www.chromestatus.com/feature/5688035094036480 for more details.

As a result, device motion does not cause any change to the loaded content on mobile.

@amanonymous amanonymous changed the title devicemotion event support is removed from chrome 74 devicemotion event support is removed from chrome 74 on using http:// protocol. works fine with https:// May 2, 2019
@jsantell
Copy link
Contributor

Thanks for filing! Chrome will use the sensor API (replacing devicemotion) when it exists, only available on secure origins.

Closing this since I'm not sure that there's anything we can do on the polyfill side of things. Please reopen if I'm wrong!

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

2 participants