angular/packages/common/src
Matthieu Riegler 2c4613a002 fix(common): Don't run preconnect assertion on the server. (#56213)
The `window` global is patched by domino on the server but the value of `window.location.href` isn't a valid base.

Before this change `getUrl()` would throw when running in devmode on the server.

Fixes #56207

PR Close #56213
2024-07-16 09:53:33 -07:00
..
directives fix(common): Don't run preconnect assertion on the server. (#56213) 2024-07-16 09:53:33 -07:00
i18n docs(common): fix FormatWidth.Short description (#55821) 2024-05-20 23:39:06 -07:00
location docs: drop glossary links (#55044) 2024-03-28 13:02:50 -07:00
navigation refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
pipes refactor(core): clean up clang comments and workarounds (#55750) 2024-05-13 11:10:36 -07:00
common.ts refactor(common): remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302) 2024-04-17 08:00:01 +02:00
common_module.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
cookie.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
dom_adapter.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
dom_tokens.ts refactor(core): remove InjectionToken descriptions in optimized builds. (#53747) 2024-01-26 19:12:41 +00:00
errors.ts refactor(common): allow string urls in NgOptimizedImage input (#54901) 2024-07-01 18:13:24 +00:00
platform_id.ts refactor(common): remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302) 2024-04-17 08:00:01 +02:00
private_export.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewport_scroller.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
xhr.ts fix(platform-browser): configure XhrFactory to use BrowserXhr (#41313) 2021-03-29 15:14:16 -07:00