Skip to content

Commit fa5ae92

Browse files
atscottcrisbeto
authored andcommitted
refactor(core): update FakeNavigation to the latest spec (#62017)
Spec updates are in whatwg/html#10919 For the most part, the updates revolve around the deferred commit handling (with precommitHandler). Updates to redirect allow more options. A committed promise now exists on the transition since commits can be delayed. Tests were made zoneless for easier debugging and timeouts were reduced. PR Close #62017
1 parent 900cd37 commit fa5ae92

File tree

4 files changed

+495
-60
lines changed

4 files changed

+495
-60
lines changed

packages/core/primitives/dom-navigation/src/navigation_types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export declare class NavigationTransition {
6767
readonly navigationType: NavigationTypeString;
6868
readonly from: NavigationHistoryEntry;
6969
readonly finished: Promise<void>;
70+
readonly committed: Promise<void>;
7071
}
7172

7273
export interface NavigationHistoryEntryEventMap {

0 commit comments

Comments
 (0)