W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: A URL API

From: Adam Barth <w3c@adambarth.com>
Date: Sun, 19 Sep 2010 22:51:46 -0700
Message-ID: <AANLkTi=meEbe57U4UROv5CBRGGAHCt0eKi_M3WX5RWiJ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: WebApps WG <public-webapps@w3.org>
On Sun, Sep 19, 2010 at 10:41 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 9/20/10 1:02 AM, Adam Barth wrote:
>> I've updated the document:
>>
>> https://docs.google.com/document/edit?id=1r_VTFKApVOaNIkocrg0z-t7lZgzisTuGTXkdzAk4gLU&hl=en#
>
> General comments based on a quick read (and ignoring various typos that I
> figure we'll fix in due course):
>
> 1)  The reference chain for actually parsing a URI terminates in HTML5
> referencing the IRI RFC, which doesn't seem to define a parsing algorithm.
>  Did I just miss it?

I'm working on fixing that problem too:

http://github.com/abarth/url-spec/blob/master/drafts/url.txt

> 2)  Why lastPathComponent as opposed to, say, fileName?

Renamed to fileName.

> 3)  Why is lastPathComponent readonly?

Made mutable.

> 4)  Things Gecko has on its URI objects that this seems to be missing
>    and that might be useful and aren't obviously available via
>    existing facilities of this interface:

I'll look at these in detail later.

Adam
Received on Monday, 20 September 2010 05:52:54 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT