[Bug 25422] New: Allow errors to be returned from digest()

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

            Bug ID: 25422
           Summary: Allow errors to be returned from digest()
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: ericroman@google.com
                CC: public-webcrypto@w3.org

The text describing SHA digest does not allow for any errors to be returned.

However the NSS library allows for errors to occur in such cases, so
implementations based on it may have the need to fail.

I propose allowing digest() to fail with OperationError similar to encrypt().

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

Received on Wednesday, 23 April 2014 01:14:00 UTC