mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2cdb4c5911
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