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

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

Issue 30673002: More informative error messages for non-Transferables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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/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 5d99d1a7a01b6ba55df47480d022cf8408d5bc58..c7eabececda3b46ae7cf1f020c4f42f123bffcd6 100644
--- a/LayoutTests/fast/dom/Window/window-postmessage-args-expected.txt
+++ b/LayoutTests/fast/dom/Window/window-postmessage-args-expected.txt
@@ -1,8 +1,9 @@
Test that the second argument of window.postMessage is ignored or triggers an error if it is not a message port. You should see PASS message '1' through '7', followed by 'done', with messages 4-7 received below.
-PASS: Posting message ('1', 1): threw exception TypeError: Type error
-PASS: Posting message ('2', c): threw exception TypeError: Type error
-PASS: Posting message ('3', [object Object]): threw exception TypeError: Type error
+PASS: Posting message ('1', 1): threw exception TypeError: Third argument is not a sequence type
+PASS: Posting message ('2', c): threw exception TypeError: Second argument is not a sequence type
+PASS: Posting message ('3', [object Object]): threw exception TypeError: Third argument is not a sequence type
+PASS: Posting message ('3a', *): threw exception TypeError: Second argument is not a sequence type
PASS: Posting message ('4', [object Window]) did not throw an exception
PASS: Posting message ('4a', *) did not throw an exception
PASS: Posting message ('5', null) did not throw an exception

Powered by Google App Engine
This is Rietveld 408576698