[Webkit-unassigned] [Bug 27255] Geolocation incorrectly calls error callback in case of exception in success callback
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 4 09:53:05 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27255
Greg Bolsinga <bolsinga at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
--- Comment #6 from Greg Bolsinga <bolsinga at apple.com> 2009-08-04 09:53:05 PDT ---
(In reply to comment #5)
> It can, of course, happen that the success callback throws an exception but I
> think this is a problem with the user code and not the Geolocation API
> implementation. As such, error callback should not be invoked. Instead, I think
> an error event should be raised and window.onerror should be invoked (if
> defined) or the error should be logged to the JS console.
Great. I think the code already will report the exception in that way, so this
patch implements what you describe above. I'm not a reviewer, however. I'm
going to move the bug to "NEW", in hope it gets reviewed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list