Primary eng (and PM) emails
Remove the DeviceOrientationEvent.initDeviceOrientationEvent and DeviceMotionEvent.initDeviceMotionEvent functions.
These methods are not defined in the DeviceOrientation Event specification. Measurements indicate that they have no usage and they can be entirely replaced by the DeviceOrientationEvent and DeviceMotionEvent constructors that are being shipped in parallel to this intent.
Compatibility And Interoperability Risk
Chrome has supported Device Orientation since M-7. These unspecified functions were shipped on all WebKit platforms at the time (Chrome and Mobile Safari). UseCounters indicate that these functions have zero usage.
Edge: Deprecated ("As of Microsoft Edge, the createEvent()/initEvent() constructor pattern for synthetic events is deprecated.")
Web developers: No signals
Alternative implementation suggestion for web developers
Sites which wish to generate synthetic DeviceOrientationEvents and DeviceMotionEvents may use the constructors which are shipping in parallel to this removal.
Usage information from UseCounter
OWP launch tracking bug
Entry on the feature dashboard
Safari: Public skepticism
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.