Index: third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-args.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-args.html b/third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-args.html |
index ee07a6e0a54c1c6c8cee14e79d7f8146ff7793ae..897ccd16c000e6d67784ecb43b715507e8dd295e 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-args.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/window-postmessage-args.html |
@@ -62,7 +62,7 @@ document.getElementById("description").innerHTML = "Test that the second argumen |
tryPostMessage('1', '*', 1, true); |
tryPostMessage('2', '*', 'c', true); |
tryPostMessage('3', '*', { x: 1 }, true); |
-tryPostMessage('4', '*', window); // Passes because window has a "length" attribute of value '0', so it looks like an array |
+tryPostMessage('4', '*', window, true); |
tryPostMessage('5', '*', undefined); |
tryPostMessage('5a', '*', null, true); |
tryPostMessage('6', '*', void 0); |