| Index: Source/bindings/core/v8/SerializedScriptValue.cpp
|
| diff --git a/Source/bindings/core/v8/SerializedScriptValue.cpp b/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| index e20cee05d2318280087958f70ad9430ad587c6f2..3aba0c3a67c29922dd2e9137980e6eb4e5b262fa 100644
|
| --- a/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| +++ b/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| @@ -3010,8 +3010,9 @@ bool SerializedScriptValue::extractTransferables(v8::Local<v8::Value> value, int
|
| if (value->IsArray()) {
|
| v8::Local<v8::Array> array = v8::Local<v8::Array>::Cast(value);
|
| length = array->Length();
|
| - } else if (toV8Sequence(value, length, isolate).IsEmpty()) {
|
| - exceptionState.throwTypeError(ExceptionMessages::notAnArrayTypeArgumentOrValue(argumentIndex + 1));
|
| + } else if (!toV8Sequence(value, length, isolate, exceptionState)) {
|
| + if (!exceptionState.hadException())
|
| + exceptionState.throwTypeError(ExceptionMessages::notAnArrayTypeArgumentOrValue(argumentIndex + 1));
|
| return false;
|
| }
|
|
|
|
|