W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2011

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 16 Oct 2011 03:49:11 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RFHip-0005sz-DB@jessica.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:06 UTC