[deviceorientation] Pull Request: Restrict all interfaces to secure contexts

engedy has just submitted a new pull request for https://github.com/w3c/deviceorientation:

== Restrict all interfaces to secure contexts ==
As the next step towards fully removing DeviceOrientationEvent and DeviceMotionEvent in non-secure browsing contexts (which is tracked by #47), this change marks all interfaces [SecureContext], but not the `ondeviceorientation` or `ondevicemotion` attributes on `window`.

Based on analysis from [1], it is expected that the risk of user agents implementing this change and breaking existing web applications is little-to-none.

[1]: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/5yqfAXibz1I

See https://github.com/w3c/deviceorientation/pull/65

Received on Thursday, 14 February 2019 14:07:42 UTC