blob: b286f16ff3a1255371dd77d4bec8f6d3aaa7e19b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html>
<head>
<title>Simple access of geolocation</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="geolocation_common.js"></script>
<meta charset="utf-8">
<head>
<script>
async function loadedWindow() {
await new Promise(r => force_prompt(true, r));
opener.postMessage("initialized", "*");
}
navigator.geolocation.getCurrentPosition(loadedWindow, loadedWindow, {timeout:30000});
</script>
</head>
<body>
<h1>Just a support file</h1>
</body>
</html>
|