| Index: Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
| index f681bac782066f81e9e81872d1a5a7a4cd64ca06..4bd20a3cb0dd80f1557f8a1201aed39383e092ce 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
| @@ -101,7 +101,9 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio
|
| stringArg = info[0];
|
| if (!stringArg.prepare())
|
| return;
|
| - defaultUndefinedOptionalBooleanArg = info[1]->BooleanValue();
|
| + defaultUndefinedOptionalBooleanArg = toBoolean(info.GetIsolate(), info[1], exceptionState);
|
| + if (exceptionState.throwIfNeeded())
|
| + return;
|
| defaultUndefinedOptionalLongArg = toInt32(info.GetIsolate(), info[2], NormalConversion, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
|
|