fix(client,sdk): permit cross-domain message communication
All checks were successful
arcad/edge/pipeline/head This commit looks good

This commit is contained in:
wpetit 2023-04-06 20:54:01 +02:00
parent da73b842e1
commit 34c6a089b5
3 changed files with 4 additions and 4 deletions

View File

@ -4104,7 +4104,7 @@ var Edge = (() => {
if (!target)
return;
this._log("sending crossframe message", message);
target.postMessage(message);
target.postMessage(message, "*");
}
_log(...args) {
if (!this.debug)

File diff suppressed because one or more lines are too long

View File

@ -27,7 +27,7 @@ export class CrossFrameMessenger extends EventTarget {
post(message: CrossFrameMessage, target: Window = window.parent) {
if (!target) return;
this._log("sending crossframe message", message);
target.postMessage(message)
target.postMessage(message, '*');
}
_log(...args) {