Index: Source/bindings/v8/custom/V8MessagePortCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8MessagePortCustom.cpp b/Source/bindings/v8/custom/V8MessagePortCustom.cpp |
index cedf23f3274ff44d92382051c786a3a1ce722334..de53c91fb68ea22bf9bb737b205aac368874826d 100644 |
--- a/Source/bindings/v8/custom/V8MessagePortCustom.cpp |
+++ b/Source/bindings/v8/custom/V8MessagePortCustom.cpp |
@@ -46,7 +46,8 @@ void V8MessagePort::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::V |
MessagePortArray portArray; |
ArrayBufferArray arrayBufferArray; |
if (args.Length() > 1) { |
- if (!extractTransferables(args[1], portArray, arrayBufferArray, args.GetIsolate())) |
+ if (!extractTransferables(args[1], portArray, arrayBufferArray, |
+ args.GetIsolate(), "Second argument is not a sequence type")) |
Mike West
2013/10/21 06:51:22
Same comments here as V8DedicatedWorkerGlobalScope
|
return; |
} |
bool didThrow = false; |