| Index: Source/bindings/tests/results/V8SupportTestInterface.cpp
|
| diff --git a/Source/bindings/tests/results/V8SupportTestInterface.cpp b/Source/bindings/tests/results/V8SupportTestInterface.cpp
|
| index 4ee9e593e28e411b1557599b4c3fa2c9e83e7d55..c34f2aa62e7156c940d9c5f0bfdc5f3b57e30e97 100644
|
| --- a/Source/bindings/tests/results/V8SupportTestInterface.cpp
|
| +++ b/Source/bindings/tests/results/V8SupportTestInterface.cpp
|
| @@ -326,7 +326,8 @@ static void supplementalMethod2Method(const v8::FunctionCallbackInfo<v8::Value>&
|
| SupportTestInterface* imp = V8SupportTestInterface::toNative(info.Holder());
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, strArg, info[0]);
|
| if (info.Length() <= 1 || !info[1]->IsFunction()) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("supplementalMethod2", "SupportTestInterface", "The callback provided as parameter 2 is not a function."), info.GetIsolate());
|
| + exceptionState.throwTypeError("The callback provided as parameter 2 is not a function.");
|
| + exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| OwnPtr<TestObject> objArg = V8TestObject::create(v8::Handle<v8::Function>::Cast(info[1]), getExecutionContext());
|
|
|