Index: LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js |
diff --git a/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js b/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js |
index 6642ea41f4c37f512568694fdae1a2c2ae3118f0..2ee8ca14ce6b9a096e2f6059b928b557cf5ef500 100644 |
--- a/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js |
+++ b/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js |
@@ -24,6 +24,8 @@ tryPostMessage('var x = 0; try { eval("badref"); } catch(e) { x = e; } x', true, |
var arrayBuffer = new ArrayBuffer(1); |
tryPostMessage('"data"', false, null, 0, [arrayBuffer]); |
tryPostMessage('arrayBuffer', true, null, DOMException.DATA_CLONE_ERR); |
+var duplicateArrayBuffer = new ArrayBuffer(1); |
+tryPostMessage('"data"', true, null, DOMException.DATA_CLONE_ERR, [duplicateArrayBuffer, duplicateArrayBuffer]); |
var uint8Array = new Uint8Array([10]); |
tryPostMessage('"data"', false, null, 0, [uint8Array.buffer]); |
tryPostMessage('uint8Array', true, null, DOMException.DATA_CLONE_ERR); |