Closed Bug 460065 Opened 16 years ago Closed 16 years ago

geolocation: no error reported to page when user disallows the API use

Categories

(Core :: DOM: Geolocation, defect)

x86
macOS
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: dougt)

References

()

Details

(Keywords: fixed1.9.1)

BUILD: Current trunk build STEPS TO REPRODUCE: Run the javascript: URI in the URL field EXPECTED RESULTS: Since no geolocation providers are installed, the error reporter function is called with a PositionError which has code == 1 and a reasonable message. ACTUAL RESULTS: The error reporter function is not called at all. This needs to be fixed before ship; as written we fail to return from the asynchronous request, which can essentially hang a web app that is waiting for us to return _something_ and blocking all actions in the meantime.
Flags: blocking1.9.1?
Assignee: nobody → doug.turner
i have fixed this in bug 455327.
Indeed.
Depends on: 455327
Component: DOM → Geolocation
QA Contact: general → geolocation
455327 landed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
removing blocking1.9.1 flag. bz -- this actually landed on 1.9.1 either before we created the 1.9.1 branch or sometime there after. in either case, 1.9.1 _has_ this fix.
Flags: blocking1.9.1?
See bug 459893 comment 19. Doesn't really matter, but the right thing to do in these cases is to set the flag (+ or -), not to just clear it.
(restoring flag)
Flags: blocking1.9.1+
You need to log in before you can comment on or make changes to this bug.