w3c / requestidlecallback

Cooperative Scheduling of Background Tasks
https://w3c.github.io/requestidlecallback/
Other
50 stars 19 forks source link

Spec should allow setting timeRemaining to 0 early #72

Closed esprehn closed 5 years ago

esprehn commented 6 years ago

Chrome's implementation will drop the timeRemaining to 0 when certain high priority things happen (ex. There's a pending touch). The spec doesn't seem to have a UA hook for doing that.

https://w3c.github.io/requestidlecallback/#the-idledeadline-interface

yoavweiss commented 5 years ago

Closed by #74