Skip to content

Navigation: Add optimization to ignore duplicate navigations#11765

Open
llannasatoll wants to merge 3 commits intowhatwg:mainfrom
llannasatoll:ignore-duplicate-navigation
Open

Navigation: Add optimization to ignore duplicate navigations#11765
llannasatoll wants to merge 3 commits intowhatwg:mainfrom
llannasatoll:ignore-duplicate-navigation

Conversation

@llannasatoll
Copy link
Copy Markdown
Contributor

@llannasatoll llannasatoll commented Oct 8, 2025

As proposed in #11743, this prevents an ongoing navigation from being canceled by a new, identical navigation that is initiated within the threshould. This introduces the navigation initiation snapshot params struct, which is used to capture the state of the most recent navigation attempt, allowing the user agent to compare it with subsequent requests at the beginning of the navigation.


/browsing-the-web.html ( diff )
/document-sequences.html ( diff )
/dom.html ( diff )

Comment thread source Outdated
@llannasatoll llannasatoll force-pushed the ignore-duplicate-navigation branch from 27be0e6 to 4d255eb Compare November 17, 2025 05:05
@llannasatoll llannasatoll requested a review from rakina November 17, 2025 05:23
@llannasatoll llannasatoll force-pushed the ignore-duplicate-navigation branch from 4d255eb to 6269fe4 Compare April 15, 2026 11:31
@llannasatoll llannasatoll force-pushed the ignore-duplicate-navigation branch from 6269fe4 to cac111e Compare April 15, 2026 11:35
@llannasatoll llannasatoll force-pushed the ignore-duplicate-navigation branch from cac111e to 1ffc5d1 Compare April 15, 2026 11:44
@llannasatoll
Copy link
Copy Markdown
Contributor Author

@rakina Could you take another look? I've added a new struct navigation initiation snapshot params to store information about the most recent navigation so that we can compare the navigations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants