Index: LayoutTests/geofencing/geofencing-not-implemented.html |
diff --git a/LayoutTests/fast/dom/Geolocation/geofencing-not-implemented.html b/LayoutTests/geofencing/geofencing-not-implemented.html |
similarity index 53% |
rename from LayoutTests/fast/dom/Geolocation/geofencing-not-implemented.html |
rename to LayoutTests/geofencing/geofencing-not-implemented.html |
index 063e322fb31cd79f11a8c5f45995c6c964a5d9d9..dc44262e096235ffde2c226e0528894523ecea02 100644 |
--- a/LayoutTests/fast/dom/Geolocation/geofencing-not-implemented.html |
+++ b/LayoutTests/geofencing/geofencing-not-implemented.html |
@@ -1,7 +1,7 @@ |
<!DOCTYPE html> |
<html> |
<head> |
-<script src="../../../resources/js-test.js"></script> |
+<script src="../resources/js-test.js"></script> |
</head> |
<body> |
<script> |
@@ -14,9 +14,9 @@ function shouldReject(promise) |
function() { testPassed("Promise rejected as expected."); }); |
} |
-shouldReject(navigator.geolocation.registerRegion(new CircularRegion({latitude: 37.421999, longitude: -122.084015}))); |
-shouldReject(navigator.geolocation.unregisterRegion("")); |
-shouldReject(navigator.geolocation.getRegisteredRegions()); |
+shouldReject(navigator.geofencing.registerRegion(new CircularRegion({latitude: 37.421999, longitude: -122.084015}))); |
+shouldReject(navigator.geofencing.unregisterRegion("")); |
+shouldReject(navigator.geofencing.getRegisteredRegions()); |
</script> |
</body> |
</html> |