angular/packages/zone.js/test/common
Andrew Scott fc557f0276 fix(zone.js): support passthrough of Promise.try API
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
2026-02-17 11:32:49 -08:00
..
Error.spec.ts build: migrate zone.js to use ts_project instead of ts_library (#62673) 2025-07-17 13:59:37 -04:00
fetch.spec.ts build: migrate zone.js tests to use web test runner instead of karma web tests (#62826) 2025-07-28 14:18:45 +02:00
microtasks.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
promise-disable-wrap-uncaught-promise-rejection.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
Promise.spec.ts fix(zone.js): support passthrough of Promise.try API 2026-02-17 11:32:49 -08:00
queue-microtask.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
setInterval.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
setTimeout.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
task.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
toString.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
util.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00