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

Unified Diff: content/test/data/android/device_files/geolocation.html

Issue 65273002: Add a mechanism to pause and resume geolocation requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unsused CVC.isGeolocationActiveForTest API Created 7 years 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: content/test/data/android/device_files/geolocation.html
diff --git a/content/test/data/android/device_files/geolocation.html b/content/test/data/android/device_files/geolocation.html
new file mode 100644
index 0000000000000000000000000000000000000000..729c339a4df51d9607c1a7e53fab64bd753d7dc8
--- /dev/null
+++ b/content/test/data/android/device_files/geolocation.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Geolocation</title>
+ <script>
+ var positionCount = 0;
+ function gotPos(position) {
+ positionCount++;
+ }
+ function initiate_watchPosition() {
+ navigator.geolocation.watchPosition(gotPos, function() { }, { });
+ }
+ </script>
+ </head>
+ <body>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698