Skip to content
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

"report the exception" is missing in setTimeout(function(){}) #5895

Closed
hiroshige-g opened this issue Sep 8, 2020 · 0 comments · Fixed by #5896
Closed

"report the exception" is missing in setTimeout(function(){}) #5895

hiroshige-g opened this issue Sep 8, 2020 · 0 comments · Fixed by #5896

Comments

@hiroshige-g
Copy link
Contributor

Step 7.2 of https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timer-initialisation-steps says "Invoke the Function." but doesn't call https://html.spec.whatwg.org/multipage/webappapis.html#report-the-exception, i.e. setTimeout(function(){throw new Error();}) doesn't fire global object's error events.

Given that:

#report-the-exception is needed here. I'm preparing a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants