W3C home > Mailing lists > Public > public-webapi@w3.org > December 2007

Re: [Bindings] stringify

From: Jim Ley <Jim@jibbering.com>
Date: Mon, 24 Dec 2007 11:38:39 -0000
Message-ID: <013501c84621$87d864f0$2401a8c0@Magpie>
To: "Web API WG \(public\)" <public-webapi@w3.org>, "Anne van Kesteren" <annevk@opera.com>

"Anne van Kesteren" <annevk@opera.com>
> Maybe the draft already says something about this, but I couldn't find it. 
> I think it would be good if there was a way in the IDL to say what an 
> object stringifies to. The Window object becomes "[object Window]" and 
> Location stringifies to its href attribute value. The tricky part here is 
> objects implementing multiple interfaces, such as Document and 
> DocumentSelector, but in those cases the specification editors should 
> probably ensure there are no strange things.

Could you describe the use cases for defining this at all?  I can't see any 
benefits.

Cheers,

Jim. 
Received on Monday, 24 December 2007 11:39:04 GMT

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