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..cb3d8467b0aa94071e27dca8e72d6ef0c1d27e8b 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: Failed to execute 'postMessage' on 'Window': Third argument is neither an array, nor does it have indexed properties. |
+PASS: Posting message ('2', c): threw exception TypeError: Failed to execute 'postMessage' on 'Window': Second argument is neither an array, nor does it have indexed properties. |
+PASS: Posting message ('3', [object Object]): threw exception TypeError: Failed to execute 'postMessage' on 'Window': Third argument is neither an array, nor does it have indexed properties. |
+PASS: Posting message ('3a', *): threw exception TypeError: Failed to execute 'postMessage' on 'Window': Second argument is neither an array, nor does it have indexed properties. |
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 |