Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make the HTML test runner onLoad event more resilient to loading details. #4989

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 1 commit into from
May 27, 2024

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented May 26, 2024

If the start method executes after the DOMContentLoaded event has fired, the onLoad callback was not executed. We are now more robust against that situation, following the pattern recommended on MDN.

Extracted from #4988.

…ils.

If the `start` method executes after the `DOMContentLoaded` event
has fired, the `onLoad` callback was not executed. We are now more
robust against that situation, following the pattern recommended
on MDN.
@sjrd sjrd requested a review from gzm0 May 26, 2024 10:16
@gzm0 gzm0 merged commit ff9880e into scala-js:main May 27, 2024
3 checks passed
@sjrd sjrd deleted the harden-html-runner-loading branch May 27, 2024 08:02
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