Closed Bug 459903 Opened 12 years ago Closed 8 years ago
Geode fails to get location, navigator
.geolocation .last Position is undefined
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:184.108.40.206) Gecko/2008070208 Firefox/3.0.1 (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.21022; .NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) Gecko/2008070208 Firefox/3.0.1 (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.21022; .NET CLR 3.5.30729) The Geode Addon doesn't work. Reproducible: Always Steps to Reproduce: 1. navigator.geolocation.lastPosition 2. undefined Actual Results: navigator.geolocation.lastPosition = undefined Expected Results: navigator.geolocation.lastPosition = a functional object to get the last position with. Discussion on labs.mozilla.com: https://labs.mozilla.com/forum/comments.php?DiscussionID=1757 Here's my JS: print(navigator); print(navigator.geolocation); print(navigator.geolocation.lastPosition); And here's the output: [object Navigator] [object Object] undefined All Geode examples seem to be failing me too so I'm not sure what I might be doing wrong. I suspect it might just be a bug with Geode itself.
http://azarask.in/local/ just displays: Error getting your position. Mea Culpa! All other examples simply fail to function at all.
I am seeing the same behaviour in MacOS X with 3.1 beta 2. This being the case is may not be a platform specific issue. If anyone with Linux gets the same problematic behaviour, we should change this to effecting all platforms.
This happens for me in Vista x64 as well: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:18.104.22.168) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)
OS: Windows XP → All
Hardware: x86 → All
This appears to be functional now, albeit with different API calls (the others listed above are incorrect or deprecated): http://jsbin.com/ivafiq/2
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.