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

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

--- 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);

or

  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
arguments.

-- 
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