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

Unified Diff: LayoutTests/fast/workers/worker-context-multi-port-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/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 c3094645fee01ff779e25c25aa31c68c9e46085b..a9045a92b6d0d51172f78d9ee4f038d3b34af6ba 100644
--- a/LayoutTests/fast/workers/worker-context-multi-port-expected.txt
+++ b/LayoutTests/fast/workers/worker-context-multi-port-expected.txt
@@ -9,11 +9,11 @@ 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: DataCloneError: An object could not be cloned.
-PASS posting a non-port did throw: DataCloneError: An object could not be cloned.
+PASS posting a null port did throw: DataCloneError: Failed to execute 'postMessage' on 'WorkerGlobalScope': Value at index 1 is an untransferable 'null' value.
+PASS posting a non-port did throw: DataCloneError: Failed to execute 'postMessage' on 'WorkerGlobalScope': Value at index 1 does not have a transferable type.
PASS event.ports contains two ports when two ports re-sent after error
PASS posting a non-array did throw: TypeError: Failed to execute 'postMessage' on 'WorkerGlobalScope': The 2nd argument is neither an array, nor does it have indexed properties.
-PASS posting a non-sequence did throw: DataCloneError: An object could not be cloned.
+PASS posting a non-sequence did throw: DataCloneError: Failed to execute 'postMessage' on 'WorkerGlobalScope': Value at index 0 does not have a transferable type.
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698