tenfourfox/dom/tests/mochitest/geolocation/geolocation.html

14 lines
310 B
HTML
Raw Normal View History

2017-04-19 07:56:45 +00:00
<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>