Re: PositionError Requests

On Oct 30, 2008, at 2:29 PM, Doug Turner wrote:

>
>
> On Oct 30, 2008, at 2:26 PM, Greg Bolsinga wrote:
>
>> On Oct 30, 2008, at 1:58 PM, Andrei Popescu wrote:
>>
>>> UNKNOWN_ERROR = 1 (could be 0, but other error interfaces start at  
>>> 1,
>>> e.g.  http://www.w3.org/html/wg/html5/#mediaerror)
>>> PERMISSION_DENIED  = 2
>>> POSITION_UNAVAILABLE = 3
>>> TIMEOUT = 4
>>
>> That's fine with me. Will they be named constants as well?
>
> How do mean?  They are under the PositionError object so that they  
> do not all have to be suffixed with ERROR or something like that.

Basically I'm thinking of something along the lines of XMLHttpRequest:

http://www.w3.org/TR/XMLHttpRequest/#xmlhttprequest

readyState has multiple named constants.

Thanks,
-- Greg

Received on Sunday, 2 November 2008 19:40:23 UTC