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

Re: A URL API

From: Devdatta Akhawe <dev.akhawe@gmail.com>
Date: Sun, 19 Sep 2010 22:48:46 -0700
Message-ID: <AANLkTim86b5+vcPbaJT3ewQqwx3ZFgLA9=zKnoC0Nbdq@mail.gmail.com>
To: Adam Barth <w3c@adambarth.com>
Cc: WebApps WG <public-webapps@w3.org>
>
> 1) There are now two methods for getting at the URL parameters.  The

and none for setting them?


cheers
devdatta


> 2) The origin attribute is now readonly.  Once I wired up the origin
> attribute to the actual definition of how to compute the origin of a
> URL, it became obvious that we don't want to support assigning to the
> attribute.  In particular, it doesn't seems particularly meaningful to
> assign the string "null" to the attribute even though that's a
> perfectly reasonable value for the attribute to return.
>
> 3) I've added definitions for what the interface actually does.
>
> In response to folks who think we should add these APIs to
> HTMLAnchorElement and Location, I agree.  Currently, the draft is
> written to refer to HTML5 for the definitions of the common elements,
> but we could easily reverse that dependency or incorporate this API
> into HTML5.
>
> Adam
>
>
Received on Monday, 20 September 2010 05:49:38 GMT

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