Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation API: deferred commit #1169

Open
noamr opened this issue Jan 28, 2025 · 1 comment
Open

Navigation API: deferred commit #1169

noamr opened this issue Jan 28, 2025 · 1 comment

Comments

@noamr
Copy link

noamr commented Jan 28, 2025

Request for Mozilla Position on an Emerging Web Specification

Other information

The current behavior of the navigation API updates the URL and the current history entry immediately when intercepting.
This has been a pain point for early adopters of the API.
This proposal is to make this behavior configurable, allowing the developer using the API to defer the commit behavior and call commit when ready.

@domenic
Copy link
Contributor

domenic commented Feb 7, 2025

We're planning to slightly expand this proposal with one more method: WICG/navigation-api#279 . (It is quite simple in complexity, consisting of a bunch of error-case checks and then updating the destination URL if all those checks pass.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Unscreened
Development

No branches or pull requests

2 participants