Sign in
webkit
/
WebKit
/
74a70b4650fbd719ba3c83ed49ad2fe62a266972
/
.
/
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>