angular/packages/common/http/src
Dmitry Drobyshev 4a32579a4d fix(http): emit error on XMLHttpRequest abort event (#40786)
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 #40786
2021-02-22 13:01:11 -08:00
..
backend.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
client.ts docs: remove duplicated the (#40434) 2021-01-14 11:33:57 -08:00
headers.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
interceptor.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
jsonp.ts fix(http): queue jsonp <script> tag onLoad event handler in microtask (#39512) 2020-11-17 13:09:08 -08:00
module.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
params.ts fix(http): ignore question mark when params are parsed (#40610) 2021-02-19 12:11:39 -08:00
request.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
response.ts docs(http): Add mention to default value 'OK' for statusText. #23334 (#23494) 2020-11-23 08:31:24 -08:00
xhr.ts fix(http): emit error on XMLHttpRequest abort event (#40786) 2021-02-22 13:01:11 -08:00
xsrf.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00