Now that device motion/orientation events are backed by the same Mojo service as the Generic Sensors API the testRunner.setMockDeviceMotion and testRunner.setMockDeviceOrientation functions can be removed and third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js used instead.
Comment 1 by altimin@chromium.org
, Jan 16 2018