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

Unified Diff: LayoutTests/fast/dom/DeviceMotion/page-visibility-expected.txt

Issue 23705010: Add page visibility observer support for Device Motion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Improve the test Created 7 years, 3 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/page-visibility-expected.txt
diff --git a/LayoutTests/fast/dom/DeviceMotion/page-visibility-expected.txt b/LayoutTests/fast/dom/DeviceMotion/page-visibility-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..854c7b819fcca34d25717b72c2d1b24bc4bbafd6
--- /dev/null
+++ b/LayoutTests/fast/dom/DeviceMotion/page-visibility-expected.txt
@@ -0,0 +1,15 @@
+Tests to check that devicemotion events are not fired when the page is not visible.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+* Page is visible
+PASS Received a devicemotion event
+* Page is hidden
+PASS Did not receive a devicemotion event
+* Page is visible
+PASS Received a devicemotion event
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/DeviceMotion/page-visibility.html ('k') | Source/modules/device_orientation/DeviceMotionController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698