Sign in
webkit
/
WebKit
/
1762bbff9fbd56c88bef04f22e25cdd374f67b8f
/
.
/
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>