Skip to content

fix: hang when navigating to about:blank #31634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2025
Merged

Conversation

mschile
Copy link
Contributor

@mschile mschile commented May 2, 2025

  • Closes n/a

Additional details

We currently set the iframe.src to about:blank prior to registering the load listener. If about:blank is loaded before we register the event, the promise will hang.

Steps to test

We don't currently have a good way to test this since we don't have unit testing setup for the App. But you can run Cypress and verify about:blank is still displayed and doesn't hang.

How has the user experience changed?

Doesn't have the potential to hang when visiting about:blank.

PR Tasks

@mschile mschile self-assigned this May 2, 2025
Copy link

cypress bot commented May 2, 2025

cypress    Run #62155

Run Properties:  status check passed Passed #62155  •  git commit 2d3456a215: update changelog
Project cypress
Branch Review mschile/about_blank_hang
Run status status check passed Passed #62155
Run duration 09m 53s
Commit git commit 2d3456a215: update changelog
Committer Matthew Schile
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 694
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 130
View all changes introduced in this branch ↗︎

@mschile mschile merged commit 8254b94 into develop May 2, 2025
90 of 91 checks passed
@mschile mschile deleted the mschile/about_blank_hang branch May 2, 2025 23:53
@cypress-bot
Copy link
Contributor

cypress-bot bot commented May 6, 2025

Released in 14.3.3.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v14.3.3, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators May 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants