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

Side by Side Diff: LayoutTests/fast/dom/Geolocation/watchPosition-page-visibility-expected.txt

Issue 27368003: Add page visibility observer for Geolocation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nit Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests that watchPosition does not report position changes when the page is not v isible.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 * Page is visible
7 device moved to (52.478, 0.834)
8 Page is notified of the position change
9 PASS isPageVisible is true
10 PASS position.coords.latitude is 52.478
11 PASS position.coords.longitude is 0.834
12
13 device moved to (53.478, 1.834)
14 Page is notified of the position change
15 PASS isPageVisible is true
16 PASS position.coords.latitude is 53.478
17 PASS position.coords.longitude is 1.834
18
19 * Hiding page
20 device moved to (54.478, 2.834)
21 PASS isPageVisible is false
22
23 *Showing page
24 device moved to (55.478, 3.834)
25 Page is notified of the position change
26 PASS isPageVisible is true
27 PASS position.coords.latitude is 55.478
28 PASS position.coords.longitude is 3.834
29
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698