Navigation API: deferred commit #449
Labels
from: Google
Proposed, edited, or co-edited by Google.
topic: web apis
Spec relates to web APIs (entry points for script)
venue: WHATWG HTML Workstream
WebKittens
No response
Title of the proposal
Navigation API: deferred commit
URL to the spec
https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigateevent-intercept
URL to the spec's repository
https://github.com/whatwg/html
Issue Tracker URL
https://github.com/whatwg/html
Explainer URL
https://github.com/WICG/navigation-api/blob/main/README.md#deferred-commit
TAG Design Review URL
w3ctag/design-reviews#1040
Mozilla standards-positions issue URL
No response
WebKit Bugzilla URL
No response
Radar URL
No response
Description
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.The text was updated successfully, but these errors were encountered: