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

Unified Diff: LayoutTests/fast/dom/DeviceMotion/add-listener-from-callback-expected.txt

Issue 16020003: Blink-side Device Motion API testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed window-property layout test Created 7 years, 5 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: LayoutTests/fast/dom/DeviceMotion/add-listener-from-callback-expected.txt
diff --git a/LayoutTests/fast/dom/DeviceMotion/add-listener-from-callback-expected.txt b/LayoutTests/fast/dom/DeviceMotion/add-listener-from-callback-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..671278d5d9c4d8afa9b542f3d38ad706abcb79e8
--- /dev/null
+++ b/LayoutTests/fast/dom/DeviceMotion/add-listener-from-callback-expected.txt
@@ -0,0 +1,20 @@
+Tests that adding a new devicemotion event listener from a callback works as expected.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+TEST MODE enabled
+PASS deviceMotionEvent.acceleration.x is mockAccelerationX
+PASS deviceMotionEvent.acceleration.y is mockAccelerationY
+PASS deviceMotionEvent.acceleration.z is mockAccelerationZ
+PASS deviceMotionEvent.accelerationIncludingGravity.x is mockAccelerationIncludingGravityX
+PASS deviceMotionEvent.accelerationIncludingGravity.y is mockAccelerationIncludingGravityY
+PASS deviceMotionEvent.accelerationIncludingGravity.z is mockAccelerationIncludingGravityZ
+PASS deviceMotionEvent.rotationRate.alpha is mockRotationRateAlpha
+PASS deviceMotionEvent.rotationRate.beta is mockRotationRateBeta
+PASS deviceMotionEvent.rotationRate.gamma is mockRotationRateGamma
+PASS deviceMotionEvent.interval is mockInterval
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698