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

Unified Diff: third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html

Issue 2809743002: [Sensors] OrientationSensor.quaternion returns [x, y, z, w] (Closed)
Patch Set: rebased Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html
diff --git a/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html b/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html
index 90065cffdcbd2c0bd78a7e894b112b4e7876416e..8e563b657e31b20994aa7e63a6c425b1c22168e4 100644
--- a/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html
+++ b/third_party/WebKit/LayoutTests/sensor/absolute-orientation-sensor.html
@@ -11,7 +11,7 @@
if (!window.testRunner)
debug('This test cannot be run without the TestRunner');
-const kQuaternion = [0, 1, 0, 0]; // 180 degrees around X axis.
+const kQuaternion = [1, 0, 0, 0]; // 180 degrees around X axis.
const kRotationMatrix = [1, 0, 0, 0,
0, -1, 0, 0,
0, 0, -1, 0,
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698