Index: LayoutTests/fast/events/message-port-multi-expected.txt |
diff --git a/LayoutTests/fast/events/message-port-multi-expected.txt b/LayoutTests/fast/events/message-port-multi-expected.txt |
index e522833a200288c30a11582e410c68ec8a93b864..959336935bca71b8dc1711fe778279bf5c6dd16c 100644 |
--- a/LayoutTests/fast/events/message-port-multi-expected.txt |
+++ b/LayoutTests/fast/events/message-port-multi-expected.txt |
@@ -3,14 +3,14 @@ This test checks the various use cases around sending multiple ports through Mes |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS channel.port1.postMessage("same port", [channel.port1]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
-PASS channel.port1.postMessage("entangled port", [channel.port2]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
-PASS channel.port1.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 channel.port1.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Type error. |
-PASS channel.port1.postMessage("duplicate port", [channel3.port1, channel3.port1]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
+PASS channel.port1.postMessage("same port", [channel.port1]) threw exception DataCloneError: An object could not be cloned.. |
+PASS channel.port1.postMessage("entangled port", [channel.port2]) threw exception DataCloneError: An object could not be cloned.. |
+PASS channel.port1.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception DataCloneError: An object could not be cloned.. |
+PASS channel.port1.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception DataCloneError: An object could not be cloned.. |
+PASS channel.port1.postMessage("duplicate port", [channel3.port1, channel3.port1]) threw exception DataCloneError: An object could not be cloned.. |
PASS channel.port1.postMessage("notAnArray", channel3.port1) threw exception TypeError: Type error. |
-PASS channel.port1.postMessage("notASequence", [{length: 3}]) threw exception TypeError: Type error. |
-PASS channel.port1.postMessage("largeSequence", largePortArray) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
+PASS channel.port1.postMessage("notASequence", [{length: 3}]) threw exception DataCloneError: An object could not be cloned.. |
+PASS channel.port1.postMessage("largeSequence", largePortArray) 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 |