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..bd9bfbd7e5ee4df236fc78f00be2318ce876a731 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/DeviceMotion/page-visibility-expected.txt |
@@ -0,0 +1,20 @@ |
+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 |
+Sending mock device motion event |
+Received a device motion event |
+PASS eventCount is 1 |
+* Page is hidden |
+Sending mock device motion event |
+PASS eventCount is 1 |
+* Page is visible |
+Sending mock device motion event |
+Received a device motion event |
+PASS eventCount is 2 |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |