angular-cn/packages/common/http/test
Dmitry Drobyshev 38972653fa fix(http): emit error on XMLHttpRequest abort event (#40767)
Before this change, when Google Chrome cancels a XMLHttpRequest, an Observable of the response
never finishes. This happens, for example, when you put your computer to sleep or just press
Ctrl+S to save the browser page. After this commit, if request is canceled or aborted an
appropriate Observable will be completed with an error.

Fixes #22324

PR Close #40767
2021-02-10 11:13:05 -08:00
..
BUILD.bazel test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:40 -08:00
client_spec.ts test(http): use HttpStatusCode enum in tests (#23548) 2021-01-28 09:10:48 -08:00
headers_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
jsonp_mock.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
jsonp_spec.ts fix(http): queue jsonp <script> tag onLoad event handler in microtask (#39512) 2020-11-17 13:09:08 -08:00
module_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
params_spec.ts feat(common): implement `appendAll()` method on `HttpParams` (#20930) 2021-01-21 14:01:34 -08:00
request_spec.ts docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
response_spec.ts test(http): use HttpStatusCode enum in tests (#23548) 2021-01-28 09:10:48 -08:00
xhr_mock.ts fix(http): emit error on XMLHttpRequest abort event (#40767) 2021-02-10 11:13:05 -08:00
xhr_spec.ts fix(http): emit error on XMLHttpRequest abort event (#40767) 2021-02-10 11:13:05 -08:00
xsrf_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00