W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2011

Re: [WebIDL] How to expose typedefs in ecmascript

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 4 Feb 2011 09:02:11 +1300
To: Simon Pieters <simonp@opera.com>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
Message-ID: <20110203200210.GB21094@wok.mcc.id.au>
Hi Simon.

Simon Pieters:
> As far as I can tell WebIDL does not say anything about how typedefs
> are represented in the ecmascript binding. It would be helpful with
> a section discussing typedefs in the ecmascript binding section. In
> particular, I'd like to know if the typdef's identifier should be
> exposed as a property on the global object or not.

No, typedefs are not exposed as a property on the global object.  The
intention is that typedefs never influence the language binding.  They
are used purely as a convenience mechanism at the IDL level.  I will add
some wording in 3.5 Typedefs explaning this.


Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 3 February 2011 20:02:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:02 UTC