| Index: Source/bindings/tests/results/V8TestObjectPython.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObjectPython.cpp b/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| index 97ed7d7ad00323ae0dcd4f949f960d8004939bd5..9175154b578cfa003bfb651dde3fd2e128cb11b0 100644
|
| --- a/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObjectPython.cpp
|
| @@ -7137,7 +7137,7 @@ static void strictTypeCheckingVoidMethodTestInterfaceEmptyArgMethod(const v8::Fu
|
| return;
|
| }
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| - if (info.Length() > 0 && !info[0]->IsUndefined() && !V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) {
|
| + if (info.Length() > 0 && (isUndefinedOrNull(info[0]) || !V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate()))) {
|
| throwTypeError(ExceptionMessages::failedToExecute("strictTypeCheckingVoidMethodTestInterfaceEmptyArg", "TestObjectPython", "parameter 1 is not of type 'TestInterfaceEmpty'."), info.GetIsolate());
|
| return;
|
| }
|
| @@ -7159,7 +7159,7 @@ static void strictTypeCheckingVoidMethodNullableTestInterfaceEmptyArgMethod(cons
|
| return;
|
| }
|
| TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
|
| - if (info.Length() > 0 && !isUndefinedOrNull(info[0]) && !V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate())) {
|
| + if (info.Length() > 0 && (!isUndefinedOrNull(info[0]) && !V8TestInterfaceEmpty::hasInstance(info[0], info.GetIsolate()))) {
|
| throwTypeError(ExceptionMessages::failedToExecute("strictTypeCheckingVoidMethodNullableTestInterfaceEmptyArg", "TestObjectPython", "parameter 1 is not of type 'TestInterfaceEmpty'."), info.GetIsolate());
|
| return;
|
| }
|
|
|