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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/message-port-deleted-frame.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-deleted-frame.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/message-port-deleted-frame.html b/third_party/WebKit/LayoutTests/fast/events/message-port-deleted-frame.html
index 30599a386c35125bb23bb643e72c854c60a52d20..22accfcc04bdfcd4d3df06a60685416c5f15f40e 100644
--- a/third_party/WebKit/LayoutTests/fast/events/message-port-deleted-frame.html
+++ b/third_party/WebKit/LayoutTests/fast/events/message-port-deleted-frame.html
@@ -29,7 +29,7 @@ function test()
{
frameDoc = 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