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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/message-port-inactive-document.html

Issue 1903873004: Deprecate window.postMessage(m, transferables, origin) overload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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: third_party/WebKit/LayoutTests/fast/events/message-port-inactive-document.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/message-port-inactive-document.html b/third_party/WebKit/LayoutTests/fast/events/message-port-inactive-document.html
index 23f7fb6301b0c82abb5a952c7dc3beda2d996f3b..d7c81a7584412ef4a8a174383be66d1425d9bd3c 100644
--- a/third_party/WebKit/LayoutTests/fast/events/message-port-inactive-document.html
+++ b/third_party/WebKit/LayoutTests/fast/events/message-port-inactive-document.html
@@ -29,7 +29,7 @@ function test()
{
otherDocument = window.frames[0].document;
var channel = new MessageChannel;
- window.frames[0].postMessage("msg", [channel.port2], "*");
+ window.frames[0].postMessage("msg", "*", [channel.port2]);
mainPort = channel.port1;
mainPort.start();

Powered by Google App Engine
This is Rietveld 408576698