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