[Bug 26903] Parameter validation errors should return SyntaxError not DataError

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26903

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #2 from Boris Zbarsky <bzbarsky@mit.edu> ---
SyntaxError should be a syntax error, no?

Out-of-range in Web IDL throws a TypeError.  It might be good to just align
with that.

Alternately you could consider RangeError, and maybe even coordinating that
with Web IDL changing its out-of-range handling.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 25 September 2014 20:21:06 UTC