angular/packages/zone.js/lib
arturovt b618b5aa86 fix(zone.js): cancel tasks only when they are scheduled or running (#46435)
Currently, there's no check if the task (that is being canceled) has the right state.
Only `scheduled` and `running` tasks can be canceled. If the task has a non-appropriate
state, then an error will be thrown. Cancelation should not throw an error on an already
canceled task, e.g. `clearTimeout` does not throw errors when it's called multiple times
on the same timer.

PR Close #45711

PR Close #46435
2022-10-11 17:20:54 +00:00
..
browser docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
closure docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
common docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
extra docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
jasmine refactor(zone.js): remove leftover debugging code using Error.stack (#46989) 2022-08-01 09:52:29 -07:00
jest refactor(zone.js): rename several internal apis in fake async zone spec (#39127) 2020-10-13 15:56:22 -07:00
mix build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
mocha fix(zone.js): patch global instead of Mocha object (#45047) 2022-02-16 13:51:51 -08:00
node fix(zone.js): should continue to executue listeners when throw error (#41562) 2021-04-21 15:54:08 -07:00
rxjs fix(zone.js): zone patch rxjs should return null _unsubscribe correctly. (#37091) 2020-07-27 12:10:27 -07:00
testing refactor(core): remove unused fakeAsyncFallback and asyncFallback (#37879) 2020-11-20 08:34:59 -08:00
zone-spec refactor(zone.js): remove zone-async-tagging from zone.js (#47416) 2022-09-23 14:44:38 -07:00
BUILD.bazel build: update bazel (#45431) 2022-03-25 12:18:33 -07:00
zone-global.d.ts fix(zone.js): remove global declaration (#37861) 2020-10-23 15:19:49 -07:00
zone.api.extensions.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
zone.configurations.api.ts feat(zone.js): monkey patches queueMicrotask() (#38904) 2020-11-05 11:23:33 -08:00
zone.ts fix(zone.js): cancel tasks only when they are scheduled or running (#46435) 2022-10-11 17:20:54 +00:00