angular/packages/common
Alan Agius 2cdb4c5911 fix(http): create macrotask during request handling instead of load start (#50406)
This commit schedules the macrotask creation to happen before the XHR `loadStart` event. This is needed as in some cases, Zone.js becomes stable too early.

With this commit, we also update the internal `createBackgroundMacroTask` method to use Zone.js `scheduleMacroTask` as otherwise the `setTimeout` would cause `fakeAsync` tests to fail due to pending timers.

Closes #50405

PR Close #50406
2023-05-24 15:33:43 +00:00
..
http fix(http): create macrotask during request handling instead of load start (#50406) 2023-05-24 15:33:43 +00:00
locales build: make devmode a noop and ensure it never runs (#48521) 2022-12-19 19:50:45 +00:00
src refactor(http): tree-shakable error on JSONP request (#50376) 2023-05-24 13:58:49 +00:00
test refactor(common): add missing override to satisfy the linter (#49599) 2023-03-28 10:12:36 -07:00
testing refactor(common): add missing override to satisfy the linter (#49599) 2023-03-28 10:12:36 -07:00
upgrade refactor(common): Use isPromise from @angular/core (#49210) 2023-02-27 10:03:20 -08:00
BUILD.bazel refactor: remove Angular Compatibility Compiler (ngcc) (#49101) 2023-02-16 16:01:17 -08:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: update minimum supported Node version from 16.13.0 -> 16.14.0 (#49771) 2023-04-11 07:56:31 -07:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00