Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: content/test/data/device_sensors/device_motion_test.html

Issue 2948253002: Revert of Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e98aa404acf0c064f386c3d20cc97a0f798d7396..11b4e05df1bb0d9832a7ba1a36df38ebc0527a58 100644
--- a/content/test/data/device_sensors/device_motion_test.html
+++ b/content/test/data/device_sensors/device_motion_test.html
@@ -2,7 +2,6 @@
<head>
<title>DeviceMotion test</title>
<script type="text/javascript">
- let expectedInterval = Math.floor(1000 / 60);
function checkMotionEvent(event) {
return event.acceleration.x == 1 &&
event.acceleration.y == 2 &&
@@ -13,7 +12,7 @@
event.rotationRate.alpha == 7 &&
event.rotationRate.beta == 8 &&
event.rotationRate.gamma == 9 &&
- event.interval == expectedInterval;
+ event.interval == 100;
}
function onMotion(event) {

Powered by Google App Engine
This is Rietveld 408576698