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
setTimeout / setInterval does not pass arguments to callback #712
Labels
bug
Something isn't working
Comments
CSchulz
added a commit
to CSchulz/happy-dom
that referenced
this issue
Feb 3, 2023
…en to setTimeout / setInterval
CSchulz
added a commit
to CSchulz/happy-dom
that referenced
this issue
Feb 3, 2023
…en to setTimeout / setInterval.
CSchulz
added a commit
to CSchulz/happy-dom
that referenced
this issue
Feb 3, 2023
…en to setTimeout / setInterval.
CSchulz
added a commit
to CSchulz/happy-dom
that referenced
this issue
Feb 3, 2023
…en to setTimeout / setInterval.
CSchulz
added a commit
to CSchulz/happy-dom
that referenced
this issue
Feb 3, 2023
…en to setTimeout / setInterval.
capricorn86
added a commit
that referenced
this issue
Feb 3, 2023
#712@patch: fix handling of callback arguments passing given to setTimeout / setInterval
Thanks for your contribution @CSchulz! 🙂 Your fix has been released. You can read more about the release here: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Arguments to callback function of setTimeout or setInterval doesn't receivce arguments.
To Reproduce
Execute in browser:
Execute in happy-dom:
Expected behavior
Should print hello as the browser.
Screenshots
If applicable, add screenshots to help explain your problem.
Device:
The text was updated successfully, but these errors were encountered: