mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The existing implementation of `PlatformLocation` uses a custom URL parsing mechanism that can be brittle and doesn't properly update the `href` property. This change refactors the URL parsing to use the native `URL` constructor, providing more robust and accurate parsing of URLs, which also correctly updates the `href` property. The tests for `PlatformLocation` have also been moved to a dedicated file to improve organization and clarity. PR Close #64494 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| dom_utils.ts | ||
| event_replay_spec.ts | ||
| full_app_hydration_spec.ts | ||
| hydration_utils.ts | ||
| incremental_hydration_spec.ts | ||
| integration_spec.ts | ||
| platform_location_spec.ts | ||
| render_spec.ts | ||
| transfer_state_spec.ts | ||