repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git]
/
content
/
test
/
data
/
android
/
device_files
/
geolocation.html
blob
729c339a4df51d9607c1a7e53fab64bd753d7dc8
1
<!DOCTYPE
html
>
2
<html>
3
<head>
4
<title>
Geolocation
</title>
5
<script>
6
var
positionCount
=
0
;
7
function
gotPos
(
position
) {
8
positionCount
++;
9
}
10
function
initiate_watchPosition
() {
11
navigator
.
geolocation
.
watchPosition
(
gotPos
,
function
() { }, { });
12
}
13
</script>
14
</head>
15
<body>
16
</body>
17
</html>