- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 24 Nov 2008 23:24:29 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6214 --- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2008-11-24 23:24:28 --- Jonas Sicking <http://www.w3.org/mid/63df84f0811110326y10c54af3y51c7e589852d9243@mail.gmail.com>: > For what it's worth, I think this issue should be addressed by the > WebIDL spec so that we don't have to define for each and every > function what to do if not enough arguments are supplied. > > If we need different behavior for different functions (for, for > example, compat reasons) then WebIDL should be given hooks for that, > such as an [optional] keyword. Agreed. Operations are now defined to throw TypeError if insufficient arguments are thrown, and if optional arguments are actually wanted, [Optional] or overloading can be used to handle this. -- 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 Monday, 24 November 2008 23:24:45 UTC