Chromium Code Reviews| Index: Source/bindings/v8/custom/V8WorkerCustom.cpp |
| diff --git a/Source/bindings/v8/custom/V8WorkerCustom.cpp b/Source/bindings/v8/custom/V8WorkerCustom.cpp |
| index 01bcdd8dc9bb0c5fe510597043eb5807ab42393d..ddaa23066ef918172c093d69d651ff716bcd03ce 100644 |
| --- a/Source/bindings/v8/custom/V8WorkerCustom.cpp |
| +++ b/Source/bindings/v8/custom/V8WorkerCustom.cpp |
| @@ -47,7 +47,8 @@ void V8Worker::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value> |
| MessagePortArray ports; |
| ArrayBufferArray arrayBuffers; |
| if (args.Length() > 1) { |
| - if (!extractTransferables(args[1], ports, arrayBuffers, args.GetIsolate())) |
| + if (!extractTransferables(args[1], ports, arrayBuffers, |
| + args.GetIsolate(), "Second argument is not a sequence type")) |
|
Mike West
2013/10/21 06:51:22
Ditto.
|
| return; |
| } |
| bool didThrow = false; |