| Index: content/test/data/android/geolocation.html
|
| diff --git a/content/test/data/android/geolocation.html b/content/test/data/android/geolocation.html
|
| index a7315e289529d4e95c4b0f99bd555d8de9c33482..729c339a4df51d9607c1a7e53fab64bd753d7dc8 100644
|
| --- a/content/test/data/android/geolocation.html
|
| +++ b/content/test/data/android/geolocation.html
|
| @@ -3,23 +3,13 @@
|
| <head>
|
| <title>Geolocation</title>
|
| <script>
|
| - var positionCount = 0;
|
| - function gotPos(position) {
|
| - positionCount++;
|
| - window.document.title = 'Count:' + positionCount;
|
| - }
|
| - function errorCallback(error){
|
| - window.document.title = 'deny';
|
| - console.log('navigator.getCurrentPosition error: ', error);
|
| - }
|
| - function initiate_getCurrentPosition() {
|
| - navigator.geolocation.getCurrentPosition(
|
| - gotPos, errorCallback, { });
|
| - }
|
| - function initiate_watchPosition() {
|
| - navigator.geolocation.watchPosition(
|
| - gotPos, errorCallback, { });
|
| - }
|
| + var positionCount = 0;
|
| + function gotPos(position) {
|
| + positionCount++;
|
| + }
|
| + function initiate_watchPosition() {
|
| + navigator.geolocation.watchPosition(gotPos, function() { }, { });
|
| + }
|
| </script>
|
| </head>
|
| <body>
|
|
|