mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
When Zone patches Promise, it uses ZoneAwarePromise. The new Promise.try API was undefined on ZoneAwarePromise, making it unavailable when zone was present. This change gracefully passes through Promise.try to the native Promise implementation, if available, without patching it to execute in the right zone (our stance is not to add new patches but avoid destructively making new APIs unavailable). Fixes #67057 |
||
|---|---|---|
| .. | ||
| error-rewrite.ts | ||
| events.ts | ||
| fetch.ts | ||
| promise.ts | ||
| queue-microtask.ts | ||
| rollup-error-rewrite.ts | ||
| rollup-fetch.ts | ||
| timers.ts | ||
| to-string.ts | ||
| utils.ts | ||