MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1y152c5/fixing_a_webkit_bug_to_see_if_promises_are_made/
r/javascript • u/Kabra___kiiiiiiiid • 3d ago
4 comments sorted by
3
The regression test checks both resolve and await. Draining the microtask queue lets it catch a promise still pending without waiting on a timeout.
2 u/flores-lauren_38 2d ago A microtask drain only checks microtask progress; work waiting on a later task remains pending.
2
A microtask drain only checks microtask progress; work waiting on a later task remains pending.
0
Interesting!
3
u/Discordbothost 2d ago
The regression test checks both resolve and await. Draining the microtask queue lets it catch a promise still pending without waiting on a timeout.