Closed Bug 827037 Opened 12 years ago Closed 9 years ago

Unable to easily work with the location object returned by getCurrentPosition as a JS Object

Categories

(Core :: DOM: Geolocation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 502911

People

(Reporter: potch, Unassigned)

Details

Trying to read the properties off the location object returned by navigator.geolocation.getCurrentPosition, there's no easy way to enumerate the properties of the wrapped xpconnect object returned. It would be nice to allow those to work with JSON.stringify (as in Chrome) and expose additional Object-like behaviors (for..in loops seem to work).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.