Index: LayoutTests/fast/events/message-port-clone.html |
diff --git a/LayoutTests/fast/events/message-port-clone.html b/LayoutTests/fast/events/message-port-clone.html |
index 8b3ef59fb57d9d4cbfcab9a09193e7d13efe8643..e158ec60e5f6ce514e43239face1a2014f55e6a5 100644 |
--- a/LayoutTests/fast/events/message-port-clone.html |
+++ b/LayoutTests/fast/events/message-port-clone.html |
@@ -36,7 +36,7 @@ debug("Posting a neutered ArrayBufferView should throw."); |
channel = new MessageChannel; |
var uint16Array = new Uint16Array(10); |
-shouldThrow("channel.port1.postMessage('msg', [uint16Array])", '"DataCloneError: Failed to execute \'postMessage\' on \'MessagePort\': Value at index 0 does not have a transferable type."'); |
+shouldThrow("channel.port1.postMessage('msg', [uint16Array])", '"TypeError: Failed to execute \'postMessage\' on \'MessagePort\': Value at index 0 does not have a transferable type."'); |
channel.port1.postMessage("msg", [uint16Array.buffer]); |
shouldThrow("channel.port1.postMessage(uint16Array, [])", '"DataCloneError: Failed to execute \'postMessage\' on \'MessagePort\': An ArrayBuffer is neutered and could not be cloned."'); |