Index: LayoutTests/fast/workers/worker-multi-port-expected.txt |
diff --git a/LayoutTests/fast/workers/worker-multi-port-expected.txt b/LayoutTests/fast/workers/worker-multi-port-expected.txt |
index 81532d9302932a2a0a47bb4162d83b4ca7aca500..65d102fc99ebaafc8a4161fcd26b67011c75e110 100644 |
--- a/LayoutTests/fast/workers/worker-multi-port-expected.txt |
+++ b/LayoutTests/fast/workers/worker-multi-port-expected.txt |
@@ -3,6 +3,7 @@ This test checks the various use cases around sending multiple ports through Wor |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+PASS worker.postMessage() threw exception TypeError: Failed to execute 'postMessage' on 'Worker': 1 argument required, but only 0 present.. |
PASS worker.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 is an untransferable 'null' value.. |
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.. |
PASS worker.postMessage("notAnArray", channel3.port1) threw exception TypeError: Failed to execute 'postMessage' on 'Worker': The 2nd argument is neither an array, nor does it have indexed properties.. |
@@ -10,6 +11,7 @@ PASS worker.postMessage("notASequence", [{length: 3}]) threw exception TypeError |
PASS successfullyParsed is true |
TEST COMPLETE |
+PASS postMessage() threw exception: TypeError: Failed to execute 'postMessage' on 'WorkerGlobalScope': 1 argument required, but only 0 present. |
PASS event.ports is non-null and zero length when no port sent |
PASS event.ports is non-null and zero length when empty array sent |
PASS event.ports contains two ports when two ports sent |