[webkit-reviews] review requested: [Bug 74038] [V8][Chromium] Support legacy argument order in window.postMessage/window.webkitPostMessage : [Attachment 118292] Fix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 7 17:35:15 PST 2011


Dmitry Lomov <dslomov at google.com> has asked  for review:
Bug 74038: [V8][Chromium] Support legacy argument order in
window.postMessage/window.webkitPostMessage
https://bugs.webkit.org/show_bug.cgi?id=74038

Attachment 118292: Fix
https://bugs.webkit.org/attachment.cgi?id=118292&action=review

------- Additional Comments from Dmitry Lomov <dslomov at google.com>
This fix accepts legacy argument order (postMessage(msg, transferables,
targetOrigin)) when third argument is a string.

This is not 100% backward-compatible (previous version was also working for
objects whose toString returned a valid target origin), but I think it is close
enough so as not to break the Internet.


More information about the webkit-reviews mailing list