зеркало из https://github.com/mozilla/gecko-dev.git
18 строки
393 B
HTML
18 строки
393 B
HTML
|
<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>
|