| Index: LayoutTests/fast/events/message-port-clone-expected.txt
|
| diff --git a/LayoutTests/fast/events/message-port-clone-expected.txt b/LayoutTests/fast/events/message-port-clone-expected.txt
|
| index 6c94942595ab386a8fd1a7fe481cef0374a766d7..f8e3aa54422393a57c725a3b01fddb7d31b3df24 100644
|
| --- a/LayoutTests/fast/events/message-port-clone-expected.txt
|
| +++ b/LayoutTests/fast/events/message-port-clone-expected.txt
|
| @@ -3,10 +3,15 @@ Tests various use cases when cloning MessagePorts.
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS channel.port1.postMessage('msg', [channel.port1]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': Item #0 in the array of ports contains the source port..
|
| +PASS channel.port1.postMessage('msg', [channel.port1]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': Port at index 0 contains the source port..
|
| Posting port to entangled pair neuters the port and does nothing else:
|
| -PASS channel2.port1.postMessage('msg', [channel.port2]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': Item #0 in the array of ports is already neutered..
|
| -PASS channel.port1.postMessage('msg', [channel2.port1]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': Item #0 in the array of ports is already neutered..
|
| +PASS channel2.port1.postMessage('msg', [channel.port2]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': Port at index 0 is already neutered..
|
| +Posting a neutered ArrayBuffer should throw.
|
| +PASS channel.port1.postMessage(arrayBuffer, []) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': An ArrayBuffer is neutered and could not be cloned..
|
| +Posting a neutered ArrayBufferView should throw.
|
| +PASS channel.port1.postMessage('msg', [uint16Array]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': Value at index 0 does not have a transferable type..
|
| +PASS channel.port1.postMessage(uint16Array, []) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': An ArrayBuffer is neutered and could not be cloned..
|
| +PASS channel.port1.postMessage('msg', [channel2.port1]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': Port at index 0 is already neutered..
|
| PASS testEvent.ports.length is 1
|
| PASS parseInt(testEvent.data) is 1
|
| PASS parseInt(testEvent.data) is 2
|
|
|