Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/message-port-multi-expected.txt

Issue 2831943002: bindings: Port bindings/core/v8 away from ToImplArray APIs. (Closed)
Patch Set: Check for exception in SerializedScriptValue Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This test checks the various use cases around sending multiple ports through Mes sagePort.postMessage 1 This test checks the various use cases around sending multiple ports through Mes sagePort.postMessage
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS channel.port1.postMessage() threw exception TypeError: Failed to execute 'p ostMessage' on 'MessagePort': 1 argument required, but only 0 present.. 6 PASS channel.port1.postMessage() threw exception TypeError: Failed to execute 'p ostMessage' on 'MessagePort': 1 argument required, but only 0 present..
7 PASS channel.port1.postMessage("same port", [channel.port1]) threw exception Dat aCloneError: Failed to execute 'postMessage' on 'MessagePort': Port at index 0 c ontains the source port.. 7 PASS channel.port1.postMessage("same port", [channel.port1]) threw exception Dat aCloneError: Failed to execute 'postMessage' on 'MessagePort': Port at index 0 c ontains the source port..
8 PASS channel.port1.postMessage("null port", [channel3.port1, null, channel3.port 2]) threw exception TypeError: Failed to execute 'postMessage' on 'MessagePort': Value at index 1 is an untransferable 'null' value.. 8 PASS channel.port1.postMessage("null port", [channel3.port1, null, channel3.port 2]) threw exception TypeError: Failed to execute 'postMessage' on 'MessagePort': Value at index 1 is an untransferable 'null' value..
9 PASS channel.port1.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Failed to execute 'postMessage' on 'MessagePort': Va lue at index 1 does not have a transferable type.. 9 PASS channel.port1.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Failed to execute 'postMessage' on 'MessagePort': Va lue at index 1 does not have a transferable type..
10 PASS channel.port1.postMessage("duplicate port", [channel3.port1, channel3.port1 ]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePo rt': Message port at index 1 is a duplicate of an earlier port.. 10 PASS channel.port1.postMessage("duplicate port", [channel3.port1, channel3.port1 ]) threw exception DataCloneError: Failed to execute 'postMessage' on 'MessagePo rt': Message port at index 1 is a duplicate of an earlier port..
11 PASS channel.port1.postMessage("notAnArray", channel3.port1) threw exception Typ eError: Failed to execute 'postMessage' on 'MessagePort': The 2nd argument is ne ither an array, nor does it have indexed properties.. 11 PASS channel.port1.postMessage("notAnArray", channel3.port1) threw exception Typ eError: Failed to execute 'postMessage' on 'MessagePort': Iterator getter is not callable..
12 PASS channel.port1.postMessage("notASequence", [{length: 3}]) threw exception Ty peError: Failed to execute 'postMessage' on 'MessagePort': Value at index 0 does not have a transferable type.. 12 PASS channel.port1.postMessage("notASequence", [{length: 3}]) threw exception Ty peError: Failed to execute 'postMessage' on 'MessagePort': Value at index 0 does not have a transferable type..
13 PASS channel.port1.postMessage("duplicate buffer", [arrayBuffer, arrayBuffer]) t hrew exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': ArrayBuffer at index 1 is a duplicate of an earlier ArrayBuffer.. 13 PASS channel.port1.postMessage("duplicate buffer", [arrayBuffer, arrayBuffer]) t hrew exception DataCloneError: Failed to execute 'postMessage' on 'MessagePort': ArrayBuffer at index 1 is a duplicate of an earlier ArrayBuffer..
14 PASS channel.port1.postMessage("largeSequence", largePortArray) threw exception TypeError: Failed to execute 'postMessage' on 'MessagePort': Value at index 0 is an untransferable 'undefined' value.. 14 PASS channel.port1.postMessage("largeSequence", largePortArray) threw exception RangeError: Failed to execute 'postMessage' on 'MessagePort': Array length excee ds supported limit..
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 PASS event.ports is non-null and zero length when no port sent 18 PASS event.ports is non-null and zero length when no port sent
19 PASS event.ports is non-null and zero length when empty array sent 19 PASS event.ports is non-null and zero length when empty array sent
20 PASS event.ports contains two ports when two ports sent 20 PASS event.ports contains two ports when two ports sent
21 PASS event.ports contains two ports when two ports re-sent after error 21 PASS event.ports contains two ports when two ports re-sent after error
22 PASS Sending host object has thrown DataCloneError: Failed to execute 'postMessa ge' on 'MessagePort': MessageChannel object could not be cloned. 22 PASS Sending host object has thrown DataCloneError: Failed to execute 'postMessa ge' on 'MessagePort': MessageChannel object could not be cloned.
23 PASS Sending host object has thrown DataCloneError: Failed to execute 'postMessa ge' on 'MessagePort': Navigator object could not be cloned. 23 PASS Sending host object has thrown DataCloneError: Failed to execute 'postMessa ge' on 'MessagePort': Navigator object could not be cloned.
24 PASS Sending Function object has thrown DataCloneError: Failed to execute 'postM essage' on 'MessagePort': function () {} could not be cloned. 24 PASS Sending Function object has thrown DataCloneError: Failed to execute 'postM essage' on 'MessagePort': function () {} could not be cloned.
25 PASS Sending Error object has thrown DataCloneError: Failed to execute 'postMess age' on 'MessagePort': Error could not be cloned. 25 PASS Sending Error object has thrown DataCloneError: Failed to execute 'postMess age' on 'MessagePort': Error could not be cloned.
26 PASS send-port: transferred one port 26 PASS send-port: transferred one port
27 PASS send-port-twice: transferred one port twice 27 PASS send-port-twice: transferred one port twice
28 PASS send-two-ports: transferred two ports 28 PASS send-two-ports: transferred two ports
29 29
30 TEST COMPLETE 30 TEST COMPLETE
31 31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698