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

Unified Diff: chrome/third_party/chromevox/chromevox/injected/mathjax.js

Issue 2336133002: Remove window.postMessage(message, transferables, targetOrigin) legacy overload (Closed)
Patch Set: 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
Index: chrome/third_party/chromevox/chromevox/injected/mathjax.js
diff --git a/chrome/third_party/chromevox/chromevox/injected/mathjax.js b/chrome/third_party/chromevox/chromevox/injected/mathjax.js
index 023c1ccf483ae0b75f10ad7ff3c39cec36a71530..1b92672151922fc2e2c350a8d15886e336f7a2fd 100644
--- a/chrome/third_party/chromevox/chromevox/injected/mathjax.js
+++ b/chrome/third_party/chromevox/chromevox/injected/mathjax.js
@@ -38,7 +38,7 @@ if (typeof(goog) != 'undefined' && goog.require) {
channel_.port1.onmessage = function(evt) {
cvox.MathJax.execMessage(evt.data);
};
- window.postMessage('cvox.MathJaxPortSetup', [channel_.port2], '*');
+ window.postMessage('cvox.MathJaxPortSetup', '*', [channel_.port2]);
};

Powered by Google App Engine
This is Rietveld 408576698