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

[Bindings] stringify

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 24 Dec 2007 11:34:59 +0100
To: "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <op.t3t40low64w2qv@annevk-t60.oslo.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.

Anne van Kesteren
Received on Monday, 24 December 2007 10:32:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:24 UTC