Index: Source/bindings/modules/v8/custom/V8SubtleCryptoCustom.cpp |
diff --git a/Source/bindings/modules/v8/custom/V8SubtleCryptoCustom.cpp b/Source/bindings/modules/v8/custom/V8SubtleCryptoCustom.cpp |
index e2e3beaa21c996842e0d1639752d5e486f890404..379dcd06928d26fe3466b23629ec82ec5b69c4f6 100644 |
--- a/Source/bindings/modules/v8/custom/V8SubtleCryptoCustom.cpp |
+++ b/Source/bindings/modules/v8/custom/V8SubtleCryptoCustom.cpp |
@@ -114,7 +114,8 @@ void V8SubtleCrypto::verifyMethodCustom(const v8::FunctionCallbackInfo<v8::Value |
} |
break; |
default: |
- throwArityTypeError(exceptionState, "[4]", info.Length()); |
+ setArityTypeError(exceptionState, "[4]", info.Length()); |
+ exceptionState.throwIfNeeded(); |
return; |
break; |
} |