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

Unified Diff: LayoutTests/fast/workers/worker-context-multi-port-expected.txt

Issue 19765010: postMessage() should throw a DataCloneError on invalid transferables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/workers/worker-context-multi-port-expected.txt
diff --git a/LayoutTests/fast/workers/worker-context-multi-port-expected.txt b/LayoutTests/fast/workers/worker-context-multi-port-expected.txt
index 8f403ab8138f81b89ec5f024d58266557c8fc986..548d5ea4f1a5a5aeddef6fd5d1e3a517eedc24c4 100644
--- a/LayoutTests/fast/workers/worker-context-multi-port-expected.txt
+++ b/LayoutTests/fast/workers/worker-context-multi-port-expected.txt
@@ -6,11 +6,11 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS event.ports is non-null and zero length when no port sent
PASS event.ports is non-null and zero length when empty array sent
PASS event.ports contains two ports when two ports sent
-PASS posting a null port did throw: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
-PASS posting a non-port did throw: TypeError: Type error
+PASS posting a null port did throw: DataCloneError: An object could not be cloned.
+PASS posting a non-port did throw: DataCloneError: An object could not be cloned.
PASS event.ports contains two ports when two ports re-sent after error
PASS posting a non-array did throw: TypeError: Type error
-PASS posting a non-sequence did throw: TypeError: Type error
+PASS posting a non-sequence did throw: DataCloneError: An object could not be cloned.
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/events/resources/message-port-multi.js ('k') | LayoutTests/fast/workers/worker-multi-port-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698