Open andreubotella opened 2 years ago
andreubotella marked as non substantive for IPR from ash-nazg.
Come to think about it, this change is not in fact editorial, since the "run steps after a timeout" algorithm adds an entry to the map of active timers, which in turn affects the idle deadline. It might still be worth making the change, though.
@andreubotella - For some reason, we never clicked the green button and merged this.. Any reason I shouldn't? :)
In whatwg/html#7349, the HTML spec factored out part of the infrastructure for
setTimeout()
into a "run steps after a timeout" algorithm for use by other specs. This change updatesrequestIdleCallback()
to use that algorithm when thetimeout
property is present and positive.Preview | Diff