angular/packages/router/test
SkyZeroZx 580212c995 fix(router): restore internal URL on popstate when browserUrl is used
Fixed an issue where back/forward (`popstate`) navigation attempted to match the displayed `browserUrl` instead of the internal route, which could result in `NG04002: Cannot match any routes`.

Fixes #67549

(cherry picked from commit 6eff439546)
2026-04-20 16:46:30 -07:00
..
directives test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
integration fix(router): restore internal URL on popstate when browserUrl is used 2026-04-20 16:46:30 -07:00
operators test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
utils refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
apply_redirects.spec.ts test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
bootstrap.spec.ts test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
BUILD.bazel refactor(router): Intercept navigate events (unless it's a rollback) 2025-11-06 15:00:08 -08:00
computed_state_restoration.spec.ts refactor(router): Permit deferring commit of traversal navigations 2026-03-03 22:09:15 +00:00
config.spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
create_router_state.spec.ts refactor(router): Store route injector on ActivatedRoute instance 2025-11-20 17:05:10 -05:00
create_url_tree.spec.ts test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
default_export_component.ts refactor(router): remove standalone true (#58950) 2024-12-05 16:02:37 -08:00
default_export_routes.ts refactor(router): switching to relative imports within the router package (#60557) 2025-04-01 14:54:05 +00:00
helpers.ts test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
page_title_strategy_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
recognize.spec.ts fix(router): pass outlet context to split to fix empty path named outlets 2026-04-01 11:48:47 +02:00
regression_integration.spec.ts test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
route_injector_cleanup.spec.ts feat(router): add controls for route cleanup 2026-01-05 14:43:56 -05:00
router.spec.ts refactor(router): Store route injector on ActivatedRoute instance 2025-11-20 17:05:10 -05:00
router_devtools.spec.ts feat(devtools): clean up router tree for stable release (#63081) 2025-09-02 20:59:15 -07:00
router_link_active.spec.ts feat(router): Update IsActiveMatchOptions APIs to accept a Partial 2026-01-29 12:10:40 -08:00
router_link_spec.ts test(router): remove provider zoneless from tests 2026-02-02 15:00:18 -08:00
router_navigation_extras.spec.ts refactor(router): switching to relative imports within the router package (#60557) 2025-04-01 14:54:05 +00:00
router_preloader.spec.ts test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
router_scroller.spec.ts test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
router_state.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
shared.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
standalone.spec.ts test(router): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
trailing_slash_integration.spec.ts feat(common): Add Location strategies to manage trailing slash on write 2026-01-23 20:09:23 +00:00
tsconfig-test.json refactor(router): Intercept navigate events (unless it's a rollback) 2025-11-06 15:00:08 -08:00
url_serializer.spec.ts fix(router): normalize multiple leading slashes in URL parser 2026-04-14 12:34:08 +03:00
url_tree.spec.ts build: update Jasmine to 6.0.0 2026-02-09 12:15:57 -08:00
view_transitions.spec.ts test(router): remove provider zoneless from tests 2026-02-02 15:00:18 -08:00
with_platform_navigation.spec.ts build: update rules_browsers digest to ceb5275 2026-02-19 16:01:02 -08:00