Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt

Issue 138273013: Check for duplicate ArrayBuffer transferables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update test to current Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt
diff --git a/LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt b/LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt
index f1bd7fa78745be2338ee1851f72a021b2141e9cb..6072353cb033001962ff7c699dd201928a74b9db 100644
--- a/LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt
+++ b/LayoutTests/fast/dom/Window/window-postmessage-clone-expected.txt
@@ -3,6 +3,7 @@ Tests that we clone object hierarchies
PASS: 'postMessage((function(){}))' threw DataCloneError: Failed to execute 'postMessage' on 'Window': An object could not be cloned.
PASS: 'postMessage(var x = 0; try { eval("badref"); } catch(e) { x = e; } x)' threw DataCloneError: Failed to execute 'postMessage' on 'Window': An object could not be cloned.
PASS: 'postMessage(arrayBuffer)' threw DataCloneError: Failed to execute 'postMessage' on 'Window': An ArrayBuffer is neutered and could not be cloned.
+PASS: 'postMessage("data")' threw DataCloneError: Failed to execute 'postMessage' on 'Window': ArrayBuffer at index 1 is a duplicate of an earlier ArrayBuffer.
PASS: 'postMessage(uint8Array)' threw DataCloneError: Failed to execute 'postMessage' on 'Window': An ArrayBuffer is neutered and could not be cloned.
PASS: 'postMessage(window)' threw DataCloneError: Failed to execute 'postMessage' on 'Window': An object could not be cloned.
PASS: 'postMessage(({get a() { throw "x" }}))' threw x
« no previous file with comments | « LayoutTests/fast/dom/Window/script-tests/postmessage-clone.js ('k') | LayoutTests/fast/events/message-port-multi-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698