Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<html>
<!--
-->
<head>
<title>Test for getCurrentPosition </title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="geolocation_common.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<a target="_blank"
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script class="testbody" type="text/javascript">
window.parent.is(navigator.geolocation, undefined);
window.parent.is("geolocation" in navigator, false);
window.parent.SimpleTest.finish();
</script>
</pre>
</body>
</html>