W3C home > Mailing lists > Public > public-geolocation@w3.org > October 2008

Re: synchronous error handling.

From: Greg Bolsinga <bolsinga@apple.com>
Date: Wed, 29 Oct 2008 09:49:15 -0700
Message-Id: <AD30738F-E66F-4B6A-9F56-EAA1C149F5B0@apple.com>
To: public-geolocation@w3.org

FWIW, In the implementation in https://bugs.webkit.org/attachment.cgi?id=24627&action=prettypatch

I implemented it call the error callback before returning from  
getCurrentPosition and watchPosition. If the caller doesn't supply an  
errorCallback, the method will return and the caller will not know of  
this error. Perhaps there can be some kind of an exception thrown?

Any clarity here would be appreciated.

-- Greg
Received on Wednesday, 29 October 2008 16:49:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:52 UTC