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

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

Issue 114363002: Structured cloning: improve DataCloneError reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + reset V8TestInterfaceConstructor.cpp result Created 7 years 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-args-expected.txt
diff --git a/LayoutTests/fast/dom/Window/window-postmessage-args-expected.txt b/LayoutTests/fast/dom/Window/window-postmessage-args-expected.txt
index 148a820c13d5e41e985e76e8db8198a404b37ac7..c537859ab0a09e21db74b3ed39983c0f1f2a7e09 100644
--- a/LayoutTests/fast/dom/Window/window-postmessage-args-expected.txt
+++ b/LayoutTests/fast/dom/Window/window-postmessage-args-expected.txt
@@ -15,9 +15,15 @@ PASS: Posting message ('2147483648', null) did not throw an exception
PASS: Posting message ('[object MessagePort]', [object MessagePort],[object MessagePort]) did not throw an exception
PASS: Posting message ('[object MessagePort]', [object MessagePort],[object MessagePort]) did not throw an exception
PASS: Posting message ('[object MessagePort],[object MessagePort]', [object MessagePort],[object MessagePort]) did not throw an exception
+PASS: Posting message ('data', [object MessagePort],[object MessagePort]): threw exception DataCloneError: Failed to execute 'postMessage' on 'Window': Port at index 0 is already neutered.
+PASS: Posting message ('[object MessagePort],[object MessagePort]', ): threw exception DataCloneError: Failed to execute 'postMessage' on 'Window': A MessagePort could not be cloned.
PASS: Posting message ('[object ArrayBuffer]', [object ArrayBuffer]) did not throw an exception
PASS: arrayBuffer neutered
PASS: view neutered
+PASS: Posting message ('[object ArrayBuffer]', ): threw exception DataCloneError: Failed to execute 'postMessage' on 'Window': An ArrayBuffer is neutered and could not be cloned.
+PASS: Posting message ('data', [object ArrayBuffer]): threw exception DataCloneError: Failed to execute 'postMessage' on 'Window': ArrayBuffer at index 0 is already neutered.
+PASS: Posting message ('[object Int8Array]', ): threw exception DataCloneError: Failed to execute 'postMessage' on 'Window': An ArrayBuffer is neutered and could not be cloned.
+PASS: Posting message ('data', [object Int8Array]): threw exception DataCloneError: Failed to execute 'postMessage' on 'Window': Value at index 0 does not have a transferable type.
PASS: Posting message ('done', undefined) did not throw an exception
Received message '4' with 0 ports.
Received message '4a' with 0 ports.

Powered by Google App Engine
This is Rietveld 408576698