Open dvoytenko opened 3 years ago
Thanks for noting this!
P.S. Quickest way of getting your itch scratch is scratching it yourselves. PRs welcome ;)
Hi, I looked into this, and found several issues.
number
for the timeout, instad of { timeout }
(an object).timeout
if it has not been called.All of these are quite simple, but the third requires some effort and tests. would love a hand ... :)
This is actually mostly done in #421, but requires some debugging to fix the broken tests
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What did you expect to happen?
install()
by default patchesrequestIdleCallback
. But when the callback is called, it doesn't haveIdleDeadline
argument. It's described here. Thus a code that may use this argument will fail.How to reproduce
A sample code is: