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

Warn readers that IdleDeadline.timeRemaining() can adjust asynchronously #104

Open
jyasskin opened this issue Dec 17, 2024 · 0 comments
Open

Comments

@jyasskin
Copy link
Member

https://w3c.github.io/requestidlecallback/#dom-idledeadline-timeremaining says it calls the 'get deadline time' algorithm, but you have to look for a while to discover that that's set in https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model to an algorithm whose response can change in the middle of a task. (I did greatly appreciate that that's linked from https://w3c.github.io/requestidlecallback/#dfn-start-an-idle-period so I didn't have to look through https://dontcallmedom.github.io/webdex/.)

Could you add a note so people reading this notice the (justified) behavior that violates https://w3ctag.github.io/design-principles/#js-rtc?

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

No branches or pull requests

1 participant