summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/geolocation/geolocation.html
blob: e62f13e7d399f903247a2cedea2102a674590fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<html>
  <head>
    <title>Simple access of geolocation</title>
  <head>
    <script>
      function loadedWindow() {
        opener.postMessage("loaded", "*");
      }
      navigator.geolocation.getCurrentPosition(loadedWindow, loadedWindow, {timeout:30000});
    </script>
  </head>
  <body></body>
</html>