diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 10:25:10 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-17 10:25:10 +0000 |
commit | a0df54f9b6c13c1dbf03dcc1561caafd3957c106 (patch) | |
tree | 7caaedd38c576b712e5bce3d502c0312340c38b8 /chrome/test/data/geolocation/simple.html | |
parent | f7164f94431fe875f2845c7517b95a3f742b6c1e (diff) | |
download | chromium_src-a0df54f9b6c13c1dbf03dcc1561caafd3957c106.zip chromium_src-a0df54f9b6c13c1dbf03dcc1561caafd3957c106.tar.gz chromium_src-a0df54f9b6c13c1dbf03dcc1561caafd3957c106.tar.bz2 |
Adds tests to ensure Geolocation requests permission happens at the right time.
It needs to be after calling navigator.geolocation.getCurrentPosition()/watchPosition() rather than just accessing navigator.geolocation.
Depends on https://bugs.webkit.org/show_bug.cgi?id=38323.
BUG=42789
TEST=GeolocationBrowserTest.NoInfoBarBeforeStart
Review URL: http://codereview.chromium.org/1950001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47408 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/geolocation/simple.html')
-rw-r--r-- | chrome/test/data/geolocation/simple.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/data/geolocation/simple.html b/chrome/test/data/geolocation/simple.html index a5d7848..4fda2ff 100644 --- a/chrome/test/data/geolocation/simple.html +++ b/chrome/test/data/geolocation/simple.html @@ -34,6 +34,9 @@ display_alert = enabled; return "" + display_alert; } + function geoAccessNavigatorGeolocation() { + return "" + typeof(navigator.geolocation); + } </script> </head> <body> |