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 dc40d2afb9a7ce96440909bd415491a582250d91..4ea1e282c0f979a80ae9a7e1d6f4ce637cc7f053 100644 |
--- a/LayoutTests/fast/workers/worker-multi-port-expected.txt |
+++ b/LayoutTests/fast/workers/worker-multi-port-expected.txt |
@@ -3,10 +3,10 @@ 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("null port", [channel3.port1, null, channel3.port2]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
-PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Type error. |
+PASS worker.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception DataCloneError: An object could not be cloned.. |
+PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception DataCloneError: An object could not be cloned.. |
PASS worker.postMessage("notAnArray", channel3.port1) threw exception TypeError: Type error. |
-PASS worker.postMessage("notASequence", [{length: 3}]) threw exception TypeError: Type error. |
+PASS worker.postMessage("notASequence", [{length: 3}]) threw exception DataCloneError: An object could not be cloned.. |
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 |