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

Side by Side Diff: content/test/data/android/geolocation.html

Issue 1614843005: Revert of Fix org.chromium.chrome.browser.GeolocationTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Geolocation</title> 4 <title>Geolocation</title>
5 <script> 5 <script>
6 var positionCount = 0; 6 var positionCount = 0;
7 function gotPos(position) { 7 function gotPos(position) {
8 positionCount++; 8 positionCount++;
9 window.document.title = 'Count:' + positionCount; 9 }
10 } 10 function initiate_watchPosition() {
11 function errorCallback(error){ 11 navigator.geolocation.watchPosition(gotPos, function() { }, { });
12 window.document.title = 'deny'; 12 }
13 console.log('navigator.getCurrentPosition error: ', error);
14 }
15 function initiate_getCurrentPosition() {
16 navigator.geolocation.getCurrentPosition(
17 gotPos, errorCallback, { });
18 }
19 function initiate_watchPosition() {
20 navigator.geolocation.watchPosition(
21 gotPos, errorCallback, { });
22 }
23 </script> 13 </script>
24 </head> 14 </head>
25 <body> 15 <body>
26 </body> 16 </body>
27 </html> 17 </html>
OLDNEW
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698