mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What When the global `window.Promise` is proxied, things that rely on custom Promise properties (e.g. the `status` field) break. In the case of navigation events, the prefetch cache is never identified as being fulfilled, so navigation hangs in an infinite loop. ### How? This ensures that the value being stored in the prefetch cache have the expected Promise signature even when proxied. x-ref: https://github.com/vercel/next.js/discussions/53746 [slack x-ref](https://vercel.slack.com/archives/C03S8ED1DKM/p1692626697034029)