angular/packages/platform-browser/src/browser
Kristiyan Kostadinov 162d940b72 refactor(platform-browser): clean up legacy way of getting a relative path (#53097)
Currently the way we extract the pathname of a URL is by creating an anchor node, assigning the URL to its `href` and reading the `pathname`. This is inefficient and it triggers an internal security check that doesn't allow the `href` attribute to be set which ends up blocking https://github.com/angular/components/pull/28155.

These changes switch to using the browser's built-in URL parsing instead.

PR Close #53097
2023-11-27 10:59:53 +01:00
..
tools refactor(platform-browser): remove #9100 todos. (#49406) 2023-06-21 11:43:45 -07:00
browser_adapter.ts refactor(platform-browser): clean up legacy way of getting a relative path (#53097) 2023-11-27 10:59:53 +01:00
generic_browser_adapter.ts refactor(common): add missing override to satisfy the linter (#49599) 2023-03-28 10:12:36 -07:00
meta.ts docs(platform-browser): Make links out of @see tags (#50110) 2023-06-14 10:54:38 +02:00
testability.ts refactor(platform-browser): remove #9100 todos. (#49406) 2023-06-21 11:43:45 -07:00
title.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
xhr.ts fix(platform-browser): configure XhrFactory to use BrowserXhr (#41313) 2021-03-29 15:14:16 -07:00