Skip to content

fix: do not inject iframes on chrome's error pages#2

Merged
shadowusr merged 1 commit into
masterfrom
users/shadowusr/TESTPLANE-906
May 29, 2026
Merged

fix: do not inject iframes on chrome's error pages#2
shadowusr merged 1 commit into
masterfrom
users/shadowusr/TESTPLANE-906

Conversation

@shadowusr
Copy link
Copy Markdown
Member

What's done?

Minimal case for this issue:

  1. Open any unexisting URL, for example: https://asdf-asdf-non-exist.ing/
  2. Execute the following code in devtools js console:
    const iframe = document.createElement("iframe");
    document.body.appendChild(iframe);
    
  3. Watch the tab crash

This fix prevents creating iframes on chrome's error pages to avoid this crash.

@shadowusr shadowusr merged commit 7ac815c into master May 29, 2026
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.

2 participants