| 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 9e940799b7d4ce86695a886bc3bc41c7c7b07bf5..6642ea41f4c37f512568694fdae1a2c2ae3118f0 100644
|
| --- a/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js
|
| +++ b/LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js
|
| @@ -21,6 +21,12 @@ tryPostMessage('[1,2,3]');
|
| tryPostMessage('[,,1]');
|
| tryPostMessage('(function(){})', true, null, DOMException.DATA_CLONE_ERR);
|
| tryPostMessage('var x = 0; try { eval("badref"); } catch(e) { x = e; } x', true, null, DOMException.DATA_CLONE_ERR);
|
| +var arrayBuffer = new ArrayBuffer(1);
|
| +tryPostMessage('"data"', false, null, 0, [arrayBuffer]);
|
| +tryPostMessage('arrayBuffer', true, null, DOMException.DATA_CLONE_ERR);
|
| +var uint8Array = new Uint8Array([10]);
|
| +tryPostMessage('"data"', false, null, 0, [uint8Array.buffer]);
|
| +tryPostMessage('uint8Array', true, null, DOMException.DATA_CLONE_ERR);
|
| tryPostMessage('new Date(1234567890000)');
|
| tryPostMessage('new ConstructorWithPrototype("foo")', false, '({field:"foo"})');
|
| tryPostMessage('new Boolean(true)');
|
|
|