tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / platform / chromium-win / fast / events / message-port-multi-expected.txt
1 This test checks the various use cases around sending multiple ports through MessagePort.postMessage
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS channel.port1.postMessage("same port", [channel.port1]) threw exception Error: DATA_CLONE_ERR: DOM Exception 25.
7 PASS channel.port1.postMessage("entangled port", [channel.port2]) threw exception Error: DATA_CLONE_ERR: DOM Exception 25.
8 PASS channel.port1.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception Error: DATA_CLONE_ERR: DOM Exception 25.
9 PASS channel.port1.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: MessagePortArray argument must contain only MessagePorts.
10 PASS channel.port1.postMessage("notAnArray", channel3.port1) threw exception TypeError: MessagePortArray argument has no length attribute.
11 PASS channel.port1.postMessage("notASequence", [{length: 3}]) threw exception TypeError: MessagePortArray argument must contain only MessagePorts.
12 PASS channel.port1.postMessage("largeSequence", largePortArray) threw exception Error: DATA_CLONE_ERR: DOM Exception 25.
13 PASS event.ports is non-null and zero length when no port sent
14 PASS event.ports is non-null and zero length when empty array sent
15 PASS event.ports contains two ports when two ports sent
16 PASS event.ports contains two ports when two ports re-sent after error
17 PASS Sending host object has thrown Error: DATA_CLONE_ERR: DOM Exception 25
18 PASS send-port: transferred one port
19 PASS send-port-twice: transferred one port twice
20 PASS send-two-ports: transferred two ports
21
22 TEST COMPLETE
23