[webcrypto] Set the error type for failures.
commitc503936fa4256dbfcfe7f3b7ca19f4bbce6fbb22
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 28 Apr 2014 19:10:34 +0000 (28 19:10 +0000)
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 28 Apr 2014 19:10:34 +0000 (28 19:10 +0000)
tree6b4dac5db7999714f8b4d8e6bc4f68c99112f4ae
parent28d2bbcdb057e31d193861a7b44d72e3d48ba7bf
[webcrypto] Set the error type for failures.

This corresponds with the WebCrypto spec update:
https://dvcs.w3.org/hg/webcrypto-api/rev/64993be45f9f

And is a dependency for the Blink change:
https://codereview.chromium.org/243853004/

BUG=245025

Review URL: https://codereview.chromium.org/243433006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266620 0039d316-1c4b-4281-b951-d872f2087c98
content/child/webcrypto/jwk.cc
content/child/webcrypto/platform_crypto_nss.cc
content/child/webcrypto/platform_crypto_openssl.cc
content/child/webcrypto/shared_crypto.cc
content/child/webcrypto/shared_crypto_unittest.cc
content/child/webcrypto/status.cc
content/child/webcrypto/status.h
content/child/webcrypto/webcrypto_impl.cc