Re: [WebIDL] How to expose typedefs in ecmascript

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.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11974

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Thursday, 3 February 2011 20:02:50 UTC