Files
pdf.js/web
Jonas Jenwald 8ecaef3b3e Add a helper to avoid "uncaught exceptions" from Promise.withResolvers()
The new `createPromiseCapability` helper is a simple wrapper around the `Promise.withResolvers()` function, to help avoid any "uncaught exception: Object"-messages in the console for unhandled promises.
This should hopefully remove the need for manual fixes all over the code-base, since we've seen a fair number of (suspected AI) reports about unhandled promises recently.
2026-11-11 22:39:31 +01:00
..
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-14 17:20:05 +02:00
2026-04-25 12:13:12 +02:00
2026-08-31 11:57:30 +02:00
2026-08-14 17:20:05 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-14 17:20:05 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-14 17:20:05 +02:00
2026-08-31 11:57:30 +02:00