1 description("Tests that the navigator.geolocation object is present.");
3 function hasGeolocationProperty()
5 for (var property
in navigator
) {
6 if (property
== "geolocation")
12 shouldBeTrue("typeof navigator.geolocation == 'object'");
13 shouldBeTrue("hasGeolocationProperty()");
14 shouldBeTrue("'geolocation' in navigator");
16 window
.jsTestIsAsync
= false;