summaryrefslogtreecommitdiffstats
path: root/dom/tests/browser/geo_leak_test.html
blob: 8273174581aeb2d39de335ad422005059fb3655c (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() {}
function errorCallback() {}

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