From e7a84f635386bc663a55a8e3aac2aaaea2334901 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Wed, 24 Sep 2025 13:15:30 +0100 Subject: [PATCH 1/4] NavigationTransition.to --- source | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source b/source index 3d3a35b161d..0a0f1989dda 100644 --- a/source +++ b/source @@ -100261,6 +100261,7 @@ const p2 = navigation.navigate(url2).finished; interface NavigationTransition { readonly attribute NavigationType navigationType; readonly attribute NavigationHistoryEntry from; + readonly attribute NavigationDestination to; readonly attribute Promise<undefined> committed; readonly attribute Promise<undefined> finished; }; @@ -100295,6 +100296,12 @@ interface NavigationTransition { useful to compare against navigation.currentEntry.

+
navigation.transition.to
+

The NavigationDestination of the transition. This can be + useful to compare against navigation.currentEntry before the navigation is + committed.

+
navigation.transition.committed

A promise which fulfills once the navigation.currentEntry and NavigationTransition { data-x="concept-NavigationTransition-from">from entry, which is a NavigationHistoryEntry.

+

Each NavigationTransition has an associated destination, which is a + NavigationDestination.

+

Each NavigationTransition has an associated committed promise, which is a promise.

@@ -100350,6 +100361,10 @@ interface NavigationTransition {
+

The to getter steps are to return + this's destination.

+

The committed getter steps are to return this's committed @@ -101618,6 +101633,9 @@ interface NavigationDestination {

from entry
fromNHE
+
destination
+
event's destination
+
committed promise
a new promise created in navigation's relevant realm
From b0e80b45253f385cae61a2f4930242b23416512d Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Wed, 24 Sep 2025 13:15:47 +0100 Subject: [PATCH 2/4] specfmt --- source | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source b/source index 0a0f1989dda..738bdb78777 100644 --- a/source +++ b/source @@ -100297,10 +100297,9 @@ interface NavigationTransition { data-x="dom-Navigation-currentEntry">navigation.currentEntry.

navigation.transition.to
-

The NavigationDestination of the transition. This can be - useful to compare against navigation.currentEntry before the navigation is - committed.

+

The NavigationDestination of the transition. This can be useful to compare + against navigation.currentEntry before the + navigation is committed.

navigation.transition.committed

A promise which fulfills once the NavigationTransition {

The to getter steps are to return - this's destination.

+ this's destination.

The committed getter steps are to return From 7036eefc780616e475dc2f7503d543a4e888c604 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Thu, 25 Sep 2025 09:27:20 +0100 Subject: [PATCH 3/4] Improve wording --- source | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source b/source index 738bdb78777..8a277934237 100644 --- a/source +++ b/source @@ -100297,9 +100297,12 @@ interface NavigationTransition { data-x="dom-Navigation-currentEntry">navigation.currentEntry.

navigation.transition.to
-

The NavigationDestination of the transition. This can be useful to compare - against navigation.currentEntry before the - navigation is committed.

+

The NavigationDestination of the transition. This can be useful as a way to + keep track of the navigation's destination before it is committed, e.g. by comparing its url with the against navigation.currentEntry's url.

navigation.transition.committed

A promise which fulfills once the NavigationTransition { data-x="dom-NavigationTransition-to">to getter steps are to return this's destination.

+ +

The committed getter steps are to return this's committed promise.

+
+

The finished getter steps are to return this's finished From 7706b3b30669194ca6ca94f1d93a4077e0c2a774 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Mon, 29 Sep 2025 13:18:51 +0100 Subject: [PATCH 4/4] reword --- source | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source b/source index 8a277934237..6587634971c 100644 --- a/source +++ b/source @@ -100298,11 +100298,9 @@ interface NavigationTransition {

navigation.transition.to

The NavigationDestination of the transition. This can be useful as a way to - keep track of the navigation's destination before it is committed, e.g. by comparing its url with the against navigation.currentEntry's url.

+ reflect a current navigation's destination's url without having to listen to the navigate event.

navigation.transition.committed

A promise which fulfills once the