dom/tests/mochitest/geolocation/geolocation.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/tests/mochitest/geolocation/geolocation.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +<html>
     1.5 +  <head>
     1.6 +    <title>Simple access of geolocation</title>
     1.7 +  <head>
     1.8 +    <script>
     1.9 +      function loadedWindow() {
    1.10 +        opener.postMessage("loaded", "*");
    1.11 +      }
    1.12 +      navigator.geolocation.getCurrentPosition(loadedWindow, loadedWindow, {timeout:30000});
    1.13 +    </script>
    1.14 +  </head>
    1.15 +  <body></body>
    1.16 +</html>

mercurial