w3c / requestidlecallback

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

timeRemaining() is badly defined #54

Closed annevk closed 7 years ago

annevk commented 7 years ago

You can't say "performance.now()" as such. You need to use an underlying primitive. Otherwise it's unclear what should happen when someone gave an alternate meaning to that function in a global.

igrigorik commented 7 years ago

Resolved via https://github.com/w3c/requestidlecallback/pull/58, closing.