fix(client,sdk): permit cross-domain message communication
arcad/edge/pipeline/head This commit looks good
Details
arcad/edge/pipeline/head This commit looks good
Details
This commit is contained in:
parent
da73b842e1
commit
34c6a089b5
|
@ -4104,7 +4104,7 @@ var Edge = (() => {
|
||||||
if (!target)
|
if (!target)
|
||||||
return;
|
return;
|
||||||
this._log("sending crossframe message", message);
|
this._log("sending crossframe message", message);
|
||||||
target.postMessage(message);
|
target.postMessage(message, "*");
|
||||||
}
|
}
|
||||||
_log(...args) {
|
_log(...args) {
|
||||||
if (!this.debug)
|
if (!this.debug)
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27,7 +27,7 @@ export class CrossFrameMessenger extends EventTarget {
|
||||||
post(message: CrossFrameMessage, target: Window = window.parent) {
|
post(message: CrossFrameMessage, target: Window = window.parent) {
|
||||||
if (!target) return;
|
if (!target) return;
|
||||||
this._log("sending crossframe message", message);
|
this._log("sending crossframe message", message);
|
||||||
target.postMessage(message)
|
target.postMessage(message, '*');
|
||||||
}
|
}
|
||||||
|
|
||||||
_log(...args) {
|
_log(...args) {
|
||||||
|
|
Loading…
Reference in New Issue