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

[Bug 11857] getData() with no or too many arguments should throw

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 May 2011 23:18:08 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QI7o8-0006KO-1u@jessica.w3.org>

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
                 CC|                            |cam@mcc.id.au

--- Comment #5 from Cameron McCormack <cam@mcc.id.au> 2011-05-05 23:18:07 UTC ---
Please note that the plan is to make functions calls with too few or too many
arguments *not* to throw (mentioned in
`aDataTransfer.getData()` would thus be equivalent to

raises() clauses are entirely optional -- implementations of IDL operations are
allowed to throw exceptions that are not listed in a raises() clause.  Also,
TypeError and SyntaxError are not concepts that exist at the IDL level.  Only
exceptions explicitly defined in IDL can be listed there.  (It may make sense
to change that, in the spirit of "serve JS first, allow other languages

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, 5 May 2011 23:18:09 UTC

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