| Index: Source/modules/crypto/CryptoResultImpl.cpp
|
| diff --git a/Source/modules/crypto/CryptoResultImpl.cpp b/Source/modules/crypto/CryptoResultImpl.cpp
|
| index 13ba840dea5239b1379282550fc7492c5ce111ca..53c45fb1e3d5ca3ed0b258e98b705f5e3454baa2 100644
|
| --- a/Source/modules/crypto/CryptoResultImpl.cpp
|
| +++ b/Source/modules/crypto/CryptoResultImpl.cpp
|
| @@ -65,9 +65,7 @@ ExceptionCode toExceptionCode(blink::WebCryptoErrorType errorType)
|
| case blink::WebCryptoErrorTypeData:
|
| return DataError;
|
| case blink::WebCryptoErrorTypeOperation:
|
| - // FIXME: This exception type is new to WebCrypto and not yet defined.
|
| - // Use a placeholder for now.
|
| - return InvalidStateError;
|
| + return OperationError;
|
| case blink::WebCryptoErrorTypeType:
|
| // FIXME: This should construct a TypeError instead. For now do
|
| // something to facilitate refactor, but this will need to be
|
|
|