summaryrefslogtreecommitdiffstats
path: root/dom/tests/browser/geo_leak_test.html
blob: fb3fabac404ab5381762340287c052888788a5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Geolocation incomplete position leak test</title>
<script type="text/javascript">

function successCallback(position) {}
function errorCallback() {}

function init() {
  navigator.geolocation.getCurrentPosition(successCallback, errorCallback);
}
</script>
</head>
<body onload="init()">
</body>
</html>