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

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

            Bug ID: 26903
           Summary: Parameter validation errors should return SyntaxError
                    not DataError
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: watsonm@netflix.com
                CC: public-webcrypto@w3.org

SyntaxError: A required parameter was missing or out-of-range
DataError: Data provided to an operation does not meet requirements

If method parameters are out-of-range this should be a SyntaxError, if
something is wrong with octet string data provided to the method then this is a
DataError.

Specific cases to fix:
- validation of extractable in DH import

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

Received on Thursday, 25 September 2014 17:00:19 UTC