@appsurify-testmap/rrweb-player 3.1.1-alpha.2 → 3.2.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12060,10 +12060,8 @@ class Replayer {
12060
12060
  this.wrapper.appendChild(this.mouseTail);
12061
12061
  }
12062
12062
  this.iframe = document.createElement("iframe");
12063
- const attributes = ["allow-same-origin"];
12064
- if (this.config.UNSAFE_replayCanvas) {
12065
- attributes.push("allow-scripts");
12066
- }
12063
+ const attributes = ["allow-same-origin", "allow-scripts"];
12064
+ if (this.config.UNSAFE_replayCanvas) ;
12067
12065
  this.iframe.style.display = "none";
12068
12066
  this.iframe.setAttribute("sandbox", attributes.join(" "));
12069
12067
  this.disableInteract();