Index: Source/bindings/core/v8/custom/V8ElementCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8ElementCustom.cpp b/Source/bindings/core/v8/custom/V8ElementCustom.cpp |
index 4b7ad561ec59e6cbcfb5a8b3ad5376f37c3259aa..1d1b7aacb24b6fbbc06d8c6eec90932b44278157 100644 |
--- a/Source/bindings/core/v8/custom/V8ElementCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8ElementCustom.cpp |
@@ -225,7 +225,8 @@ void V8Element::animateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& i |
} |
break; |
default: |
- throwArityTypeError(exceptionState, "[1]", info.Length()); |
+ setArityTypeError(exceptionState, "[1]", info.Length()); |
+ exceptionState.throwIfNeeded(); |
return; |
break; |
} |