[Bug 13433] Event handler IDL attributes need [TreatNonCallableAsNull]

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

--- Comment #29 from Cameron McCormack <cam@mcc.id.au> 2011-10-16 03:49:09 UTC ---
(In reply to comment #25)
> Given how often we use event handler attributes in the platform
> 
> "[TreatNonCallableAsNull] Function?"
> 
> is really rather ugly. We can maybe not introduce a "DOMEventHandler" type or
> some such in Web IDL for this?

BTW I was thinking of making typedefs propagate the extended attributes that
appear on them, so that this kind of thing could be factored out nicely.  For
example:

  typedef [TreatNonCallableAsNull] Function? DOMEventHandler;

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 16 October 2011 03:49:13 UTC