This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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().
https://dvcs.w3.org/hg/webcrypto-api/rev/3bc402e6c907