Termsslug: symbol-species

Symbol.species

Well-known symbol specifying the constructor for derived objects, affecting subclassing of built-ins like Promise.

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.