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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/api.js

Issue 2295863002: Remove window.postMessage(message, transferables, targetOrigin) legacy overload (Closed)
Patch Set: leave milestoneString alone Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/third_party/chromevox/chromevox/injected/mathjax.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/api.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/api.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/api.js
index 0b0bf75051ec112e6b4bcf7bfa577bce23d2a972..e88242527175cfe9dabd496067d4c9a270bf10bc 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/api.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/api.js
@@ -80,7 +80,7 @@ if (typeof(goog) != 'undefined' && goog.require) {
}
channel = new MessageChannel();
- window.postMessage(PORT_SETUP_MSG, [channel.port2], '*');
+ window.postMessage(PORT_SETUP_MSG, '*', [channel.port2]);
channel.port1.onmessage = function(event) {
if (event.data == DISCONNECT_MSG) {
channel = null;
« no previous file with comments | « no previous file | chrome/third_party/chromevox/chromevox/injected/mathjax.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698