Closed Bug 460066 Opened 16 years ago Closed 16 years ago

geolocation: PositionError objects completely broken

Categories

(Core :: DOM: Geolocation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 455327

People

(Reporter: bzbarsky, Unassigned)

References

Details

It looks like the only PositionError object we ever return has code == 1 and message = "".  All the cases I've found so far should actually be returning code == 3 (because I have no location providers).  We should fix this to at least pretend to follow the spec.

Of course in the one case when we should return code == 1 we return absolutely nothing at the momen!  Bug 460065 filed on this.

By the way, can we get some pushback on the spec to have symbolic names for these constants 1--4?
Flags: blocking1.9.1?
i have fixed this in 455327.
Depends on: 455327
Component: DOM → Geolocation
QA Contact: general → geolocation
this has been fixed.

a087bc8963b3
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: blocking1.9.1?
Resolution: FIXED → DUPLICATE
You need to log in before you can comment on or make changes to this bug.