W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: CustomEvent

From: Doug Schepers <schepers@w3.org>
Date: Sun, 08 May 2011 20:23:34 -0400
Message-ID: <4DC73406.6070102@w3.org>
To: Olli@pettay.fi, Olli Pettay <Olli.Pettay@helsinki.fi>, DOM public list <www-dom@w3.org>, Jacob Rossi <jrossi@microsoft.com>
Hi, Cameron-

Cameron McCormack wrote (on 5/8/11 7:03 PM):
> Olli Pettay:
>>  >  CustomEvent.detail is currently DOMObject. I think it would make
>>  >  more sense if it was type 'any'.
> Doug Schepers:
>>  I'd be fine with that, but I don't think OMG IDL can express type
>>  'any'.  We could put this in the Web IDL.  Maybe type 'Object' would
>>  work for the regular IDL?
> OMG IDL does have an “any” type (section of
> http://www.omg.org/cgi-bin/doc?formal/08-01-04.pdf) so I think it should
> be safe to use it even if you haven’t migrated to Web IDL yet.

Okay, great!  I've made this change, then.

I've also added it to the DOM3 Events Web IDL as well, so it would be 
nice if you did add it to the Web IDL spec.

> DOMObject is just typedefed to Object in DOM 3 Core so using Object in
> preference to it wouldn’t gain you anything.


-Doug Schepers
W3C Team Contact, SVG, WebApps, and Web Events WGs
Received on Monday, 9 May 2011 00:23:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:17 UTC