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

[Bug 13433] Using "Function?" for the on* IDL attribute type doesn't seem to match implementations on setting

From: <bugzilla@jessica.w3.org>
Date: Tue, 02 Aug 2011 22:58:30 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QoNuw-0005CN-6H@jessica.w3.org>

--- Comment #20 from Cameron McCormack <cam@mcc.id.au> 2011-08-02 22:58:29 UTC ---
Whether addEventListener should be defined as

  void addEventListener(in DOMString a, in EventListener b, in bool c);


  void addEventListener(in DOMString a, [FunkyNullHandling] in EventListener?
b, in bool c);

I guess is more of a problem for DOM Core.  If we can go with the exception
throwing mode, I think we should do so.

I don't think the handling of non-object values is something we particularly
want to propagate for new APIs, either, so I would rather introduce an extended
attribute to allow this behaviour only on specific attributes and operation

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 Tuesday, 2 August 2011 22:58:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:59 UTC