What steps will reproduce the problem?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>#placdholderstart#title#></title>
<script type="text/javascript"
src="http://code.google.com/apis/gears/gears_init.js"></script>
<script type="text/javascript">
var geo = google.gears.factory.create('beta.geolocation');
function updatePosition(position) {
alert('Current lat/lon is: ' + position.latitude + ',' + position.longitude);
}
function handleError(positionError) {
alert('Attempt to get location failed: ' + positionError.message);
}
geo.getCurrentPosition(updatePosition, handleError);
</script>
</head>
<body>
</body>
</html>
What is the expected output? What do you see instead?
Expected:
Attempt to get location failed: (?REASON?)
Actual: void, nothing at all
What version of the product are you using? On what operating system?
OSX 10.5.8 PPC
Firefox 3.6
Gears 0.5.36.0
Please provide any additional information below.
I press deny as I am testing and receive no feedback.
Running from local.
Original issue reported on code.google.com by testdm...@gmail.com on 10 Mar 2010 at 11:41
Original issue reported on code.google.com by
testdm...@gmail.com
on 10 Mar 2010 at 11:41