angular/packages/common/http
Martin Sikora 909b21aa29 refactor(http): change <script>'s ownerDocument in jsonp teardown (#36807)
handler

Cancel pending json handler by adopting its <script> element into
another document
(https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block)
This way the browser will prevent the script from being parsed and executed.

Fixes #34818

PR Close #36807
2022-02-24 17:24:33 +00:00
..
src refactor(http): change <script>'s ownerDocument in jsonp teardown (#36807) 2022-02-24 17:24:33 +00:00
test refactor(http): change <script>'s ownerDocument in jsonp teardown (#36807) 2022-02-24 17:24:33 +00:00
testing build: fix test for useUnknownInCatch (#44935) 2022-02-01 23:40:17 +00:00
BUILD.bazel build: turn off dts bundling for packages that still are not supported (#29128) 2019-03-07 10:47:20 -08:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: simplify package.jsons for all of our packages (#36944) 2020-05-06 13:54:26 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts fix(common): temporarily re-export and deprecate XhrFactory (#41393) 2021-04-01 11:26:11 -07:00