W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: ISSUE-68: What to do about window.location.toString()?

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 4 Apr 2006 03:05:37 -0700
Message-Id: <F6D01185-0ED7-4709-841E-7A85C2A53361@apple.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
To: Anne van Kesteren <annevk@opera.com>


On Apr 4, 2006, at 3:03 AM, Anne van Kesteren wrote:

>
> On Tue, 04 Apr 2006 11:59:57 +0200, Web APIs Issue Tracker <dean 
> +cgi@w3.org> wrote:
>> Should Location.toString() be removed from the IDL?
>
> I support removing it. Authors should just be encouraged to use  
> window.location.href (which is a string) whatever binding they  
> might use.

Nontheless, ECMAScript implementations need to implement it (and  
string conversion more generally) in order to be interoperable. But  
agreed that window.location.href is better than explicit toString()  
calls.

Regards,
Maciej
Received on Tuesday, 4 April 2006 10:06:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT