Contact emailsjap...@chromium.org, dome...@chromium.org

Explainerhttps://github.com/WICG/navigation-api#manual-commit

Specification

Summary

Normally, when navigateEvent.intercept() is called, the intercepted
navigation commits (and therefore the URL updates) as soon as the
NavigateEvent finishes dispatch. This adds a `commit` option to
navigateEvent.intercept(). If a `commit` value of "manual" is given, the
commit will be deferred until the new navigateEvent.commit() method is
called.


Blink componentBlink>History
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EHistory>

Motivation

In developing the navigation API, we heard feedback (
https://github.com/WICG/navigation-api/issues/66) that our current policy
of immediately committing the navigation does not match with how routing
libraries currently model asynchronous same-document navigations.


Initial public proposalhttps://github.com/WICG/navigation-api/issues/66

TAG review

TAG review statusPending

Risks


Interoperability and Compatibility



*Gecko*: No signal

*WebKit*: No signal

*Web developers*: Strongly positive (
https://github.com/WICG/navigation-api/issues/66) Developers are clear that
this capability is desired and useful, with the cited issue containing
several example use cases. During the Dev Trial we intend to validate that
the proposed API shape works well for them.

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?



Debuggability



Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?Yes

Flag name

Requires code in //chrome?False

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5134734612496384

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACf%3D2LKc%2BACbg7odh-ddKJ9_WVQ8ojfeC7aSgKBPAwYHskFMDA%40mail.gmail.com.

Reply via email to