angular/packages/common/testing/src
Nebojsa Cvetkovic 1976e37475 fix(router): restore 'history.state' on popstate even if navigationId missing (#48033)
If `history.pushState()` or `history.replaceState()` were called manually without including the `navigationId` field the state was being incorrectly discarded - that logic was for maintaining the original behavior of `NavigationStart.restoredState`.

Improves on #28176, fully fixes #28108, see also #28954

PR Close #48033
2022-11-21 13:46:17 -08:00
..
location_mock.ts fix(router): restore 'history.state' on popstate even if navigationId missing (#48033) 2022-11-21 13:46:17 -08:00
mock_location_strategy.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
mock_platform_location.ts fix(common): Fix MockPlatformLocation events and missing onPopState implementation (#48113) 2022-11-21 13:45:05 -08:00
provide_location_mocks.ts docs: declare Standalone APIs as stable (#47754) 2022-10-17 12:15:20 +02:00
testing.ts feat(common): add provideLocationMocks() function to provide Location mocks (#47674) 2022-10-10 19:42:11 +00:00