W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 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: Thu, 28 Jul 2011 21:56:16 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QmYYy-0007jp-Ho@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13433

--- Comment #4 from Cameron McCormack <cam@mcc.id.au> 2011-07-28 21:56:15 UTC ---
(In reply to comment #3)
> So do these need to accept "any" in the Web IDL and if it is not a Function it
> just sets it to null? That would be unfortunate.

If this behaviour is needed, then "cleaner" may be to leave them as `Function?`
but have some custom type coercion behaviour (specified by an extended
attribute or some prose).

-- 
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 Thursday, 28 July 2011 21:56:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:14 UTC