- From: Anne van Kesteren <annevk@opera.com>
- Date: Wed, 22 Feb 2012 15:32:26 +0100
- To: public-webapps@w3.org
On Wed, 22 Feb 2012 15:27:41 +0100, João Eiras <joaoe@opera.com> wrote: > On Wed, 22 Feb 2012 00:00:24 +0100, Cameron McCormack <cam@mcc.id.au> > wrote: >> Web IDL already requires exception interface objects like DOMException >> to be constructable, due to this: >> >> http://dev.w3.org/2006/webapi/WebIDL/#es-exception-call >> >> and them being Function objects. The constructor should take a single >> argument which is the message. > > DOMExceptions have both a code and a message. Perhaps the constructor > should be extended to include both. code is legacy, but name would be good to expose. -- Anne van Kesteren http://annevankesteren.nl/
Received on Wednesday, 22 February 2012 14:32:59 UTC