Skip to content

Conversation

@GregJHarris
Copy link
Collaborator

  • Drop use of iFrameSandboxScriptRunner.onload in favour of directly setting the srcdoc of the iframe. This resolves the majority of timeouts caused by repeat triggers of onload.
  • Add a flag (iFrameSandboxReady) to indicate that the sandbox IFrame is ready to receive messages. This ensures we only send messages to the IFrame when it is ready to process them.

Copy link
Collaborator

@abigailalexander abigailalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the issue mentioned, thanks!

@GregJHarris GregJHarris merged commit d12ba29 into master Nov 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants