Rubber-stamped by Mark Rowe.
[WebKit-https.git] / LayoutTests / geolocation / geolocation-not-implemented.html
1 <body></body>
2 <script src=geolocation-test.js></script>
3 <script>
4 test("navigator.geolocation === undefined");
5 test("navigator.geolocation == null");
6 var hasGeolocationProperty = false;
7 for (var property in navigator) {
8     hasGeolocationProperty = (property == "geolocation");
9     if (hasGeolocationProperty)
10         break;
11 }
12 test("hasGeolocationProperty == false");
13 test("'geolocation' in navigator == false");
14 test("navigator.hasOwnProperty('geolocation') == false");
15 endTest();
16 </script>