Sign in
webkit
/
WebKit
/
d85f267a3f6158bd6569db31763779a1370bec9a
/
.
/
Tools
/
TestWebKitAPI
/
Tests
/
WebKitCocoa
/
GeolocationGetCurrentPositionResult.html
blob: 4ba3677925b5eb5a8a9cc9cb721bb6afa0a41c9b [
file
] [
log
] [
blame
]
<script>
function
success
(
position
)
{
alert
(
"SUCCESS"
);
}
function
error
(
err
)
{
alert
(
"ERROR:"
+
err
.
code
);
}
navigator
.
geolocation
.
getCurrentPosition
(
success
,
error
);
</script>