18e474f522
Close #38361 zone.js monkey patch toString, and check the instance is `Promise` or not by using `instanceof Promise`, sometimes when Promise is not available, the `instanceof` operation fails and throw `TypeError: Right-hand side of 'instanceof' is not an object` this PR check `typeof Promise` equals to function or not to prevent the error. PR Close #38350 |
||
---|---|---|
.. | ||
Error.spec.ts | ||
Promise.spec.ts | ||
fetch.spec.ts | ||
microtasks.spec.ts | ||
promise-disable-wrap-uncaught-promise-rejection.spec.ts | ||
setInterval.spec.ts | ||
setTimeout.spec.ts | ||
task.spec.ts | ||
toString.spec.ts | ||
util.spec.ts | ||
zone.spec.ts |