Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: LayoutTests/geofencing/geofencing-not-implemented.html

Issue 401713005: Move all geofencing code into its own module separate from geolocation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectations Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698