summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/Geolocation/resources/enabled.js
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/dom/Geolocation/resources/enabled.js')
-rw-r--r--LayoutTests/fast/dom/Geolocation/resources/enabled.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/LayoutTests/fast/dom/Geolocation/resources/enabled.js b/LayoutTests/fast/dom/Geolocation/resources/enabled.js
deleted file mode 100644
index 4e99984..0000000
--- a/LayoutTests/fast/dom/Geolocation/resources/enabled.js
+++ /dev/null
@@ -1,18 +0,0 @@
-description("Tests that the navigator.geolocation object is present.");
-
-function hasGeolocationProperty()
-{
- for (var property in navigator) {
- if (property == "geolocation")
- return true;
- }
- return false;
-}
-
-shouldBeTrue("typeof navigator.geolocation == 'object'");
-shouldBeTrue("hasGeolocationProperty()");
-shouldBeTrue("'geolocation' in navigator");
-shouldBeTrue("navigator.hasOwnProperty('geolocation')");
-
-var isAsynchronous = false;
-var successfullyParsed = true;