| Index: Source/core/dom/MessagePort.cpp
|
| diff --git a/Source/core/dom/MessagePort.cpp b/Source/core/dom/MessagePort.cpp
|
| index 07b4eb1f40cf2cd861515f532781dad9ddb8a0a7..be7ab6678190d0e59b69790efaf82d40df1c052c 100644
|
| --- a/Source/core/dom/MessagePort.cpp
|
| +++ b/Source/core/dom/MessagePort.cpp
|
| @@ -68,7 +68,7 @@ void MessagePort::postMessage(PassRefPtr<SerializedScriptValue> message, const M
|
| for (unsigned int i = 0; i < ports->size(); ++i) {
|
| MessagePort* dataPort = (*ports)[i].get();
|
| if (dataPort == this || m_entangledChannel->isConnectedTo(dataPort)) {
|
| - es.throwDOMException(InvalidStateError);
|
| + es.throwDOMException(DataCloneError);
|
| return;
|
| }
|
| }
|
|
|