Intent to Prototype: NavigationActivation

123 views
Skip to first unread message

Nate Chapin

unread,
Nov 6, 2023, 7:23:29 PM11/6/23
to blink-dev

Contact emails

jap...@chromium.orgnrose...@chromium.org

Explainer

https://github.com/whatwg/html/issues/9760

Specification

https://github.com/whatwg/html/pull/9856

Summary

navigation.activation stores state about when the current Document was activated (e.g., when it was initialized, or restored from the back/forward cache).



Blink component

Blink>History

Motivation

In some cases, like in view transition, developers want to customize the page/style/what not based on the last/current navigation: which URL did it come from, was it a back navigation, etc. For example, show a welcome message but not if it's a back navigation, or run a different animation if coming from the home page.



Initial public proposal

https://github.com/whatwg/html/issues/9760

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developersWe have signals from developers working on multi-page view transitions that this feature is necessary for implementing a good experience

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?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

WPT will be landed alongside the prototype.

Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5076557983121408

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages