dom/tests/browser/browser_geolocation_privatebrowsing_page.html
author Bas Schouten <bschouten@mozilla.com>
Mon, 11 Nov 2013 12:42:07 +1300
changeset 155112 f2e964f107992348465e513b95f604b7732a8345
parent 115176 adefa12142357e87bd55dbe4ec75571896273a33
permissions -rw-r--r--
Bug 939049 - Part 2: Add generic ComputeLength code for backends with no such functionality. r=jrmuizel

<html>
<body>
<script>
  navigator.geolocation.getCurrentPosition(function(pos) {
    var evt = document.createEvent('CustomEvent');
    evt.initCustomEvent('georesult', true, false, pos.coords.latitude);
    document.dispatchEvent(evt);
  });
</script>
</body>
</html>