| Index: Source/bindings/v8/custom/V8MessagePortCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8MessagePortCustom.cpp b/Source/bindings/v8/custom/V8MessagePortCustom.cpp
|
| index f78dd17211efcc6be29313c948ce8d3c217ec8bb..35eda9d61f53db2f3688c9831e6cae2386ac3e18 100644
|
| --- a/Source/bindings/v8/custom/V8MessagePortCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8MessagePortCustom.cpp
|
| @@ -50,7 +50,7 @@ void V8MessagePort::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::V
|
| bool notASequence = false;
|
| if (!extractTransferables(args[1], portArray, arrayBufferArray, notASequence, args.GetIsolate())) {
|
| if (notASequence)
|
| - throwTypeError(ExceptionMessages::failedToExecute("postMessage", "MessagePort", ExceptionMessages::notASequenceType("Second")), args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToExecute("postMessage", "MessagePort", ExceptionMessages::notASequenceType(2)), args.GetIsolate());
|
| return;
|
| }
|
| }
|
|
|