angular-docs-cn/packages/zone.js/test/common
JiaLiPassion 19d543f71e fix(zone.js): disable wrap uncaught promise rejection should handle primitive value (#38476)
Close #38334.

zone.js provides a flag DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION to let zone.js
throw the original error instead of wrap it when uncaught promise rejection found.
But the rejection value could be anything includes primitive value such as number.
In that case, we should not attach any additional properties to the value.

PR Close #38476
2020-09-24 11:32:44 -04:00
..
Error.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
Promise.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
fetch.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
microtasks.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
promise-disable-wrap-uncaught-promise-rejection.spec.ts fix(zone.js): disable wrap uncaught promise rejection should handle primitive value (#38476) 2020-09-24 11:32:44 -04:00
setInterval.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
setTimeout.spec.ts fix(zone.js): clearTimeout/clearInterval should call on object global (#37858) 2020-07-24 15:22:47 -07:00
task.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
toString.spec.ts fix(zone.js): zone.js toString patch should check typeof Promise is function (#38350) 2020-08-25 09:51:50 -07:00
util.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
zone.spec.ts fix(zone.js): remove unused Promise overwritten setter logic (#36851) 2020-06-11 18:56:19 -07:00