W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: Web IDL syntax

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 1 Jul 2009 15:29:30 +1000
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: public-webapps@w3.org
Message-ID: <20090701052930.GB27420@arc.mcc.id.au>
Cameron McCormack:
> I think it might be useful for someone to just publish versions of
> existing DOM specs’ IDL as Web IDL.  I’m willing to help with that.

I just added the IDL for various DOM specs, converted to Web IDL:


and I:

  * moved some exception constants on to the exceptions themselves
  * removed the DOMString valuetype definition
  * sometimes used ‘DOMString’ and sometimes ‘DOMString?’
  * added ‘implements’ statements
  * added [PrototypeRoot] on a few interfaces
  * added getters for some list interfaces (like NodeList)
  * added [Callback] on some interfaces

Obviously testing would be required to check DOMString vs DOMString? and
where [TreatNullAs] and [TreatUndefinedAs] annotations need to be added.

Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 1 July 2009 05:30:22 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:17 UTC