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

Unified Diff: LayoutTests/fast/workers/worker-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
« no previous file with comments | « LayoutTests/fast/workers/worker-context-multi-port-expected.txt ('k') | Source/bindings/v8/V8Binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/workers/worker-multi-port-expected.txt
diff --git a/LayoutTests/fast/workers/worker-multi-port-expected.txt b/LayoutTests/fast/workers/worker-multi-port-expected.txt
index dc40d2afb9a7ce96440909bd415491a582250d91..4ea1e282c0f979a80ae9a7e1d6f4ce637cc7f053 100644
--- a/LayoutTests/fast/workers/worker-multi-port-expected.txt
+++ b/LayoutTests/fast/workers/worker-multi-port-expected.txt
@@ -3,10 +3,10 @@ This test checks the various use cases around sending multiple ports through Wor
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS worker.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
-PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception TypeError: Type error.
+PASS worker.postMessage("null port", [channel3.port1, null, channel3.port2]) threw exception DataCloneError: An object could not be cloned..
+PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception DataCloneError: An object could not be cloned..
PASS worker.postMessage("notAnArray", channel3.port1) threw exception TypeError: Type error.
-PASS worker.postMessage("notASequence", [{length: 3}]) threw exception TypeError: Type error.
+PASS worker.postMessage("notASequence", [{length: 3}]) threw exception DataCloneError: An object could not be cloned..
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
« no previous file with comments | « LayoutTests/fast/workers/worker-context-multi-port-expected.txt ('k') | Source/bindings/v8/V8Binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698