| Index: content/test/data/device_sensors/device_motion_test.html
|
| diff --git a/content/test/data/device_sensors/device_motion_test.html b/content/test/data/device_sensors/device_motion_test.html
|
| index 11b4e05df1bb0d9832a7ba1a36df38ebc0527a58..c1aa8c9a2f92d4539a86c957dfa900366f05f94d 100644
|
| --- a/content/test/data/device_sensors/device_motion_test.html
|
| +++ b/content/test/data/device_sensors/device_motion_test.html
|
| @@ -2,6 +2,7 @@
|
| <head>
|
| <title>DeviceMotion test</title>
|
| <script type="text/javascript">
|
| + let expectedInterval = Math.floor(1000000 / 60);
|
| function checkMotionEvent(event) {
|
| return event.acceleration.x == 1 &&
|
| event.acceleration.y == 2 &&
|
| @@ -12,7 +13,7 @@
|
| event.rotationRate.alpha == 7 &&
|
| event.rotationRate.beta == 8 &&
|
| event.rotationRate.gamma == 9 &&
|
| - event.interval == 100;
|
| + event.interval == expectedInterval;
|
| }
|
|
|
| function onMotion(event) {
|
|
|