Termsslug: microtask-scheduling

Microtask Scheduling

微任务调度

Event-loop mechanism that runs microtasks such as Promise callbacks between macrotasks.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Tools
38 pts
Tracing a WebKit Promise Hang Bug to Its Root Cause

The post documents a JavaScript spec-compliance bug where a throwing Symbol.species getter on a Promise causes await to hang instead of rejecting in Safari 26 and Bun 1.3.14, while Node.js behaves correctly. The author traces the fix inside WebKit, unpacking Promise resolution and microtask scheduling internals.