DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Fixing a WebKit bug to see if promises are made of train tracks

Quality: 8/10 Relevance: 9/10

Summary

The post analyzes a WebKit bug affecting Promise resolution when a thenable's Symbol.species getter throws, with Bun and Safari behavior, and details how a proper resolve/reject creation order fixes the issue. It also explains the mechanics of Promise.resolve, thenables, and the spec's NewPromiseResolveThenableJob, using a railway metaphor to illustrate success and failure paths.

🚀 Service construit par Johan Denoyer