Index: Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
index f6337d5e81189f16eeb0faf1d629451b0688c661..cc0955ff38fc4395d8188c6cb668e97db3ae7e7d 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
@@ -123,6 +123,14 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
return; |
} |
break; |
+ default: |
+ if (info.Length() >= 0) { |
+ throwArityTypeError(exceptionState, "[0, 6, 7, 8]", info.Length()); |
+ return; |
+ } |
+ exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, info.Length())); |
+ exceptionState.throwIfNeeded(); |
+ return; |
} |
exceptionState.throwTypeError("No matching constructor signature."); |
exceptionState.throwIfNeeded(); |