| 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..5475698af2acda2cb912231bea901975dfbedd18 100644
 | 
| --- a/content/test/data/android/geolocation.html
 | 
| +++ b/content/test/data/android/geolocation.html
 | 
| @@ -4,6 +4,7 @@
 | 
|          <title>Geolocation</title>
 | 
|          <script>
 | 
|              var positionCount = 0;
 | 
| +
 | 
|              function gotPos(position) {
 | 
|                  positionCount++;
 | 
|                  window.document.title = 'Count:' + positionCount;
 | 
| @@ -20,6 +21,18 @@
 | 
|                  navigator.geolocation.watchPosition(
 | 
|                      gotPos, errorCallback, { });
 | 
|              }
 | 
| +
 | 
| +            // The modal permission dialog requires a user gesture to trigger. Hook up
 | 
| +            // a click event listener to run a specified method (which may be changed by
 | 
| +            // the test).
 | 
| +            var functionToRun = 'initiate_getCurrentPosition()';
 | 
| +            function runFunctionOnClick() {
 | 
| +                eval(functionToRun);
 | 
| +            }
 | 
| +
 | 
| +            window.addEventListener('load', () => {
 | 
| +                window.addEventListener('click', runFunctionOnClick);
 | 
| +            });
 | 
|          </script>
 | 
|      </head>
 | 
|      <body>
 | 
| 
 |