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

Unified Diff: LayoutTests/fast/dom/Geolocation/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: address comments Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/modules/geofencing/CircularRegion.h » ('j') | Source/modules/geofencing/Geofencing.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Geolocation/geofencing-not-implemented.html
diff --git a/LayoutTests/fast/dom/Geolocation/geofencing-not-implemented.html b/LayoutTests/fast/dom/Geolocation/geofencing-not-implemented.html
index 063e322fb31cd79f11a8c5f45995c6c964a5d9d9..87b65cce177b73740ffd0e1f017fd1822713c0b4 100644
--- a/LayoutTests/fast/dom/Geolocation/geofencing-not-implemented.html
+++ b/LayoutTests/fast/dom/Geolocation/geofencing-not-implemented.html
@@ -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})));
Michael van Ouwerkerk 2014/08/06 17:10:43 As we now use a separate geofencing module, this t
Marijn Kruisselbrink 2014/08/06 18:27:18 Done.
+shouldReject(navigator.geofencing.unregisterRegion(""));
+shouldReject(navigator.geofencing.getRegisteredRegions());
</script>
</body>
</html>
« no previous file with comments | « no previous file | Source/modules/geofencing/CircularRegion.h » ('j') | Source/modules/geofencing/Geofencing.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698