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

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

Mark Watson <watsonm@netflix.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Mark Watson <watsonm@netflix.com> ---
https://dvcs.w3.org/hg/webcrypto-api/rev/b8f161c372a5

There is one common case where SyntaxError is used which I have left as a
SyntaxError. This is the case where incorrect usages are supplied. That is,
recognized usage values, but incorrect for the type of key being generated,
imported or unwrapped.

It doesn't seem right to call this a TypeError, since as far as the usages data
type is concerned the information is correct. Please re-open if you disagree.

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

Received on Thursday, 30 October 2014 23:25:07 UTC