summaryrefslogtreecommitdiff
path: root/chromium/ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-05-20 09:47:09 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-07 11:15:42 +0000
commit189d4fd8fad9e3c776873be51938cd31a42b6177 (patch)
tree6497caeff5e383937996768766ab3bb2081a40b2 /chromium/ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js
parent8bc75099d364490b22f43a7ce366b366c08f4164 (diff)
downloadqtwebengine-chromium-189d4fd8fad9e3c776873be51938cd31a42b6177.tar.gz
BASELINE: Update Chromium to 90.0.4430.221
Change-Id: Iff4d9d18d2fcf1a576f3b1f453010f744a232920 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js')
-rw-r--r--chromium/ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js b/chromium/ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js
index 1b926721519..50c99fa0659 100644
--- a/chromium/ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js
+++ b/chromium/ui/accessibility/extensions/chromevoxclassic/chromevox/injected/mathjax.js
@@ -38,7 +38,9 @@ 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', '*' /* target origin */,
+ [channel_.port2] /* transfer */);
};