| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
| index a0fa312983c87fddace1dabdde9cd99424d19769..cad686a5f4616ddddea49588103def3b1eac8813 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
| @@ -100,6 +100,11 @@ static void constructor4(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| V8StringResource<> optionalStringArg;
|
| {
|
| testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.GetIsolate(), info[0]);
|
| + if (!testInterfaceEmptyArg) {
|
| + exceptionState.throwTypeError("parameter 1 is not of type 'TestInterfaceEmpty'.");
|
| + exceptionState.throwIfNeeded();
|
| + return;
|
| + }
|
| longArg = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
|
|