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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/workers/worker-multi-port-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 Wor ker.postMessage 1 This test checks the various use cases around sending multiple ports through Wor ker.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 worker.postMessage() threw exception TypeError: Failed to execute 'postMess age' on 'Worker': 1 argument required, but only 0 present.. 6 PASS worker.postMessage() threw exception TypeError: Failed to execute 'postMess age' on 'Worker': 1 argument required, but only 0 present..
7 PASS worker.postMessage("null port", [channel3.port1, null, channel3.port2]) thr ew exception TypeError: Failed to execute 'postMessage' on 'Worker': Value at in dex 1 is an untransferable 'null' value.. 7 PASS worker.postMessage("null port", [channel3.port1, null, channel3.port2]) thr ew exception TypeError: Failed to execute 'postMessage' on 'Worker': Value at in dex 1 is an untransferable 'null' value..
8 PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type.. 8 PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type..
9 PASS worker.postMessage("notAnArray", channel3.port1) threw exception TypeError: Failed to execute 'postMessage' on 'Worker': The 2nd argument is neither an arr ay, nor does it have indexed properties.. 9 PASS worker.postMessage("notAnArray", channel3.port1) threw exception TypeError: Failed to execute 'postMessage' on 'Worker': Iterator getter is not callable..
10 PASS worker.postMessage("notASequence", [{length: 3}]) threw exception TypeError : Failed to execute 'postMessage' on 'Worker': Value at index 0 does not have a transferable type.. 10 PASS worker.postMessage("notASequence", [{length: 3}]) threw exception TypeError : Failed to execute 'postMessage' on 'Worker': Value at index 0 does not have a transferable type..
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 PASS postMessage() threw exception: TypeError: Failed to execute 'postMessage' o n 'DedicatedWorkerGlobalScope': 1 argument required, but only 0 present. 14 PASS postMessage() threw exception: TypeError: Failed to execute 'postMessage' o n 'DedicatedWorkerGlobalScope': 1 argument required, but only 0 present.
15 PASS event.ports is non-null and zero length when no port sent 15 PASS event.ports is non-null and zero length when no port sent
16 PASS event.ports is non-null and zero length when empty array sent 16 PASS event.ports is non-null and zero length when empty array sent
17 PASS event.ports contains two ports when two ports sent 17 PASS event.ports contains two ports when two ports sent
18 PASS event.ports contains two ports when two ports re-sent after error 18 PASS event.ports contains two ports when two ports re-sent after error
19 19
20 TEST COMPLETE 20 TEST COMPLETE
21 21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698