| Index: Source/bindings/tests/results/V8TestObjectPython.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObjectPython.cpp b/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| index 212f92b265d60448b1f05a43457dbb7f4fdfe571..0ce9227dcb3a2ae2a2603f82ec56b76a6650cc37 100644
|
| --- a/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| @@ -4721,6 +4721,7 @@ static void overloadedMethodA2Method(const v8::FunctionCallbackInfo<v8::Value>&
|
|
|
| static void overloadedMethodAMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| + ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedMethodA", "TestObjectPython", info.Holder(), info.GetIsolate());
|
| if (((info.Length() == 1))) {
|
| overloadedMethodA1Method(info);
|
| return;
|
| @@ -4730,10 +4731,12 @@ static void overloadedMethodAMethod(const v8::FunctionCallbackInfo<v8::Value>& i
|
| return;
|
| }
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodA", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| + exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| + exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodA", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
|
| + exceptionState.throwTypeError("No function was found that matched the signature provided.");
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| static void overloadedMethodAMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| @@ -4772,6 +4775,7 @@ static void overloadedMethodB2Method(const v8::FunctionCallbackInfo<v8::Value>&
|
|
|
| static void overloadedMethodBMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| + ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedMethodB", "TestObjectPython", info.Holder(), info.GetIsolate());
|
| if (((info.Length() == 1))) {
|
| overloadedMethodB1Method(info);
|
| return;
|
| @@ -4781,10 +4785,12 @@ static void overloadedMethodBMethod(const v8::FunctionCallbackInfo<v8::Value>& i
|
| return;
|
| }
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodB", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| + exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| + exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodB", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
|
| + exceptionState.throwTypeError("No function was found that matched the signature provided.");
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| static void overloadedMethodBMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| @@ -4819,6 +4825,7 @@ static void overloadedMethodC2Method(const v8::FunctionCallbackInfo<v8::Value>&
|
|
|
| static void overloadedMethodCMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| + ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedMethodC", "TestObjectPython", info.Holder(), info.GetIsolate());
|
| if (((info.Length() == 1))) {
|
| overloadedMethodC1Method(info);
|
| return;
|
| @@ -4828,10 +4835,12 @@ static void overloadedMethodCMethod(const v8::FunctionCallbackInfo<v8::Value>& i
|
| return;
|
| }
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodC", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| + exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| + exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodC", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
|
| + exceptionState.throwTypeError("No function was found that matched the signature provided.");
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| static void overloadedMethodCMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| @@ -4865,6 +4874,7 @@ static void overloadedMethodD2Method(const v8::FunctionCallbackInfo<v8::Value>&
|
|
|
| static void overloadedMethodDMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| + ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedMethodD", "TestObjectPython", info.Holder(), info.GetIsolate());
|
| if (((info.Length() == 1))) {
|
| overloadedMethodD1Method(info);
|
| return;
|
| @@ -4874,10 +4884,12 @@ static void overloadedMethodDMethod(const v8::FunctionCallbackInfo<v8::Value>& i
|
| return;
|
| }
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodD", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| + exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| + exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodD", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
|
| + exceptionState.throwTypeError("No function was found that matched the signature provided.");
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| static void overloadedMethodDMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| @@ -4911,6 +4923,7 @@ static void overloadedMethodE2Method(const v8::FunctionCallbackInfo<v8::Value>&
|
|
|
| static void overloadedMethodEMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| + ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedMethodE", "TestObjectPython", info.Holder(), info.GetIsolate());
|
| if (((info.Length() == 1))) {
|
| overloadedMethodE1Method(info);
|
| return;
|
| @@ -4920,10 +4933,12 @@ static void overloadedMethodEMethod(const v8::FunctionCallbackInfo<v8::Value>& i
|
| return;
|
| }
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodE", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| + exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| + exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodE", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
|
| + exceptionState.throwTypeError("No function was found that matched the signature provided.");
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| static void overloadedMethodEMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| @@ -4957,6 +4972,7 @@ static void overloadedMethodF2Method(const v8::FunctionCallbackInfo<v8::Value>&
|
|
|
| static void overloadedMethodFMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| + ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedMethodF", "TestObjectPython", info.Holder(), info.GetIsolate());
|
| if (((info.Length() == 1))) {
|
| overloadedMethodF1Method(info);
|
| return;
|
| @@ -4966,10 +4982,12 @@ static void overloadedMethodFMethod(const v8::FunctionCallbackInfo<v8::Value>& i
|
| return;
|
| }
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodF", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| + exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| + exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedMethodF", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
|
| + exceptionState.throwTypeError("No function was found that matched the signature provided.");
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| static void overloadedMethodFMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| @@ -5113,6 +5131,7 @@ static void overloadedStaticMethod2Method(const v8::FunctionCallbackInfo<v8::Val
|
|
|
| static void overloadedStaticMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| + ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedStaticMethod", "TestObjectPython", info.Holder(), info.GetIsolate());
|
| if (((info.Length() == 1))) {
|
| overloadedStaticMethod1Method(info);
|
| return;
|
| @@ -5122,10 +5141,12 @@ static void overloadedStaticMethodMethod(const v8::FunctionCallbackInfo<v8::Valu
|
| return;
|
| }
|
| if (UNLIKELY(info.Length() < 1)) {
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedStaticMethod", "TestObjectPython", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
|
| + exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info.Length()));
|
| + exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| - throwTypeError(ExceptionMessages::failedToExecute("overloadedStaticMethod", "TestObjectPython", "No function was found that matched the signature provided."), info.GetIsolate());
|
| + exceptionState.throwTypeError("No function was found that matched the signature provided.");
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| static void overloadedStaticMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|