| Index: Source/bindings/v8/V8Utilities.cpp
|
| diff --git a/Source/bindings/v8/V8Utilities.cpp b/Source/bindings/v8/V8Utilities.cpp
|
| index a2dc1548c3c9dd7ee9c6b173d1d346fa20332c41..7078d9a00ea3bef273cf66e3efe06138d3c762e5 100644
|
| --- a/Source/bindings/v8/V8Utilities.cpp
|
| +++ b/Source/bindings/v8/V8Utilities.cpp
|
| @@ -121,10 +121,6 @@ bool getMessagePortArray(v8::Local<v8::Value> value, const String& propertyName,
|
| ports.resize(0);
|
| return true;
|
| }
|
| - if (!value->IsArray()) {
|
| - throwTypeError(ExceptionMessages::notASequenceTypeProperty(propertyName), isolate);
|
| - return false;
|
| - }
|
| bool success = false;
|
| ports = toRefPtrNativeArray<MessagePort, V8MessagePort>(value, propertyName, isolate, &success);
|
| return success;
|
| @@ -136,10 +132,6 @@ bool getMessagePortArray(v8::Local<v8::Value> value, int argumentIndex, MessageP
|
| ports.resize(0);
|
| return true;
|
| }
|
| - if (!value->IsArray()) {
|
| - throwTypeError(ExceptionMessages::notAnArrayTypeArgumentOrValue(argumentIndex), isolate);
|
| - return false;
|
| - }
|
| bool success = false;
|
| ports = toRefPtrNativeArray<MessagePort, V8MessagePort>(value, argumentIndex, isolate, &success);
|
| return success;
|
|
|