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

Unified Diff: LayoutTests/fast/workers/worker-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-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 915987f48e1fd684e6b989843ccf294efba63ae9..1157b04715a7de8e699b43cce2196cbe2a166111 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 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("null port", [channel3.port1, null, channel3.port2]) threw exception DataCloneError: Failed to execute 'postMessage' on 'Worker': Value at index 1 is an untransferable 'null' value..
+PASS worker.postMessage("notAPort", [channel3.port1, {}, channel3.port2]) threw exception DataCloneError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type..
PASS worker.postMessage("notAnArray", channel3.port1) threw exception TypeError: Failed to execute 'postMessage' on 'Worker': The 2nd argument is neither an array, nor does it have indexed properties..
-PASS worker.postMessage("notASequence", [{length: 3}]) threw exception DataCloneError: An object could not be cloned..
+PASS worker.postMessage("notASequence", [{length: 3}]) threw exception DataCloneError: Failed to execute 'postMessage' on 'Worker': Value at index 0 does not have a transferable type..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698