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

"If timeout is less than 0, then set timeout to 0." #3664

Closed
farre opened this issue May 3, 2018 · 2 comments
Closed

"If timeout is less than 0, then set timeout to 0." #3664

farre opened this issue May 3, 2018 · 2 comments

Comments

@farre
Copy link
Contributor

farre commented May 3, 2018

https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers

If timeout is less than 0, then set timeout to 0.

The timeout arg can be omitted, so I guess it should say something about what to do when timeout isn't present.

@annevk
Copy link
Member

annevk commented May 3, 2018

That's not needed I think. It defaults to 0 per the IDL: https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope-mixin:dom-settimeout.

@farre
Copy link
Contributor Author

farre commented May 3, 2018

Well, what do you know. If you look at the correct place you get the correct answer. Thanks.

@farre farre closed this as completed May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants