blob: 2f0da592b1f022d6678f82b879a53b48074a7658 [file] [log] [blame]
Tests that the GeolocationClient only starts updating when the page becomes visible
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Page is initially visible
PASS document.hidden is false
PASS testRunner.isGeolocationProviderActive() is false
Changing page visibility to 'hidden'
Page visibility changed to false
PASS testRunner.isGeolocationProviderActive() is false
Adding Geolocation watcher
PASS testRunner.isGeolocationProviderActive() is false
Changing page visibility to 'visible'
Page visibility changed to true
PASS testRunner.isGeolocationProviderActive() became true
PASS successfullyParsed is true
TEST COMPLETE