Re: [blink-dev] Intent to Ship: NavigationActivation

2024-01-29 Thread Noam Rosenthal
On Mon, Jan 29, 2024 at 1:30 PM Mike Taylor  wrote:

> On 1/29/24 2:44 AM, 'Noam Rosenthal' via blink-dev wrote:
>
> On Friday, January 26, 2024 at 5:15:28 PM UTC Vladimir Levin wrote:
>
> On Fri, Jan 26, 2024 at 4:27 AM Noam Rosenthal 
> wrote:
>
>
> Finch feature nameNone
>
> Non-finch justification
>
> It's a web-API, exposing it gradually doesn't make sense.
>
>
> I'm always unsure about this, but I believe "Finch feature name" is the
> flag you'd put in runtime_enabled_features.json5. It can be used by Finch
> as a kill-switch in case the feature causes some regression in the wild.
> For this feature, the chrome:://flags flag isn't there though (correct me
> if I'm wrong)
>
>
> According to these guidelines:
> https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/platform/RuntimeEnabledFeatures.md#guidelines-for-setting-feature-status
> Finch + base:: features are used only for things that can cause compat
> issues, not so much for new web APIs.
> I was following this guideline, if something else is required here I'd be
> happy to follow up.
>
> See
> https://chromium.googlesource.com/chromium/src/+/main/docs/flag_guarding_guidelines.md#when-is-a-flag-required.
> The new guidance (since Aug 2022) is to add a flag for ~mostly everything.
>

Right, of course. But those are auto-generated from blink flags.
So, we do have a finch flag, with the same name (NavigationActivation).
I've updated the entry. Sorry for the confusion.

-- 
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/CAJn%3DMYbvzEuXsCZt2Y57sw9oatDU-Lp-%2BL%3DQ%2BPkhWScj4a3ouQ%40mail.gmail.com.


Re: [blink-dev] Intent to Ship: NavigationActivation

2024-01-29 Thread Mike Taylor

On 1/29/24 2:44 AM, 'Noam Rosenthal' via blink-dev wrote:


On Friday, January 26, 2024 at 5:15:28 PM UTC Vladimir Levin wrote:

On Fri, Jan 26, 2024 at 4:27 AM Noam Rosenthal
 wrote:


Finch feature nameNone

Non-finch justification

It's a web-API, exposing it gradually doesn't make sense.


I'm always unsure about this, but I believe "Finch feature name"
is the flag you'd put in runtime_enabled_features.json5. It can be
used by Finch as a kill-switch in case the feature causes some
regression in the wild. For this feature, the chrome:://flags flag
isn't there though (correct me if I'm wrong)


According to these guidelines: 
https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/platform/RuntimeEnabledFeatures.md#guidelines-for-setting-feature-status
Finch + base:: features are used only for things that can cause compat 
issues, not so much for new web APIs.
I was following this guideline, if something else is required here I'd 
be happy to follow up.


See 
https://chromium.googlesource.com/chromium/src/+/main/docs/flag_guarding_guidelines.md#when-is-a-flag-required. 
The new guidance (since Aug 2022) is to add a flag for ~mostly everything.


--
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/fc780a9b-78e0-4d79-892a-181786a5201b%40chromium.org.


Re: [blink-dev] Intent to Ship: NavigationActivation

2024-01-28 Thread 'Noam Rosenthal' via blink-dev


On Friday, January 26, 2024 at 5:15:28 PM UTC Vladimir Levin wrote:

On Fri, Jan 26, 2024 at 4:27 AM Noam Rosenthal  
wrote:

Contact emailsjap...@chromium.org, nrose...@chromium.org

Explainer
https://github.com/WICG/view-transitions/blob/main/navigation-activation-explainer.md

Specification
https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-activation-interface

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 componentBlink>History 


TAG reviewhttps://github.com/w3ctag/design-reviews/issues/921

TAG review statusIssues addressed

Risks


Interoperability and Compatibility

None


*Gecko*: Positive (https://github.com/mozilla/standards-positions/issues/928
)

*WebKit*: No signal (
https://github.com/WebKit/standards-positions/issues/282)

*Web developers*: Positive

*Other signals*:

Security

This is a cross-document (navigation) feature, so designing it we needed to 
take care of cross-origin navigation related risks. Since 
`navigation.activation` is part of the navigation API, it uses the same 
semantics and protections. We only expose things that are otherwise exposed 
by the navigation API or in other means.


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


Will this feature be supported on all six Blink platforms (Windows, Mac, 
Linux, ChromeOS, Android, and Android WebView)?Yes

Is this feature fully tested by web-platform-tests 

?Yes

https://wpt.fyi/results/navigation-api/navigation-activation?label=master=experimental=navigation%20activation


Flag name on chrome://flagsNavigationActivation

Finch feature nameNone

Non-finch justification

It's a web-API, exposing it gradually doesn't make sense.


I'm always unsure about this, but I believe "Finch feature name" is the 
flag you'd put in runtime_enabled_features.json5. It can be used by Finch 
as a kill-switch in case the feature causes some regression in the wild. 
For this feature, the chrome:://flags flag isn't there though (correct me 
if I'm wrong)


According to these guidelines: 
https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/platform/RuntimeEnabledFeatures.md#guidelines-for-setting-feature-status
Finch + base:: features are used only for things that can cause compat 
issues, not so much for new web APIs.
I was following this guideline, if something else is required here I'd be 
happy to follow up.

-- 
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/8383d18c-5aab-40f9-abad-9118ebe33d61n%40chromium.org.


Re: [blink-dev] Intent to Ship: NavigationActivation

2024-01-26 Thread 'Vladimir Levin' via blink-dev
On Fri, Jan 26, 2024 at 4:27 AM Noam Rosenthal 
wrote:

> Contact emailsjap...@chromium.org, nrosent...@chromium.org
>
> Explainer
> https://github.com/WICG/view-transitions/blob/main/navigation-activation-explainer.md
>
> Specification
> https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-activation-interface
>
> 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 componentBlink>History
> 
>
> TAG reviewhttps://github.com/w3ctag/design-reviews/issues/921
>
> TAG review statusIssues addressed
>
> Risks
>
>
> Interoperability and Compatibility
>
> None
>
>
> *Gecko*: Positive (
> https://github.com/mozilla/standards-positions/issues/928)
>
> *WebKit*: No signal (
> https://github.com/WebKit/standards-positions/issues/282)
>
> *Web developers*: Positive
>
> *Other signals*:
>
> Security
>
> This is a cross-document (navigation) feature, so designing it we needed
> to take care of cross-origin navigation related risks. Since
> `navigation.activation` is part of the navigation API, it uses the same
> semantics and protections. We only expose things that are otherwise exposed
> by the navigation API or in other means.
>
>
> 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
>
>
> Will this feature be supported on all six Blink platforms (Windows, Mac,
> Linux, ChromeOS, Android, and Android WebView)?Yes
>
> Is this feature fully tested by web-platform-tests
> 
> ?Yes
>
>
> https://wpt.fyi/results/navigation-api/navigation-activation?label=master=experimental=navigation%20activation
>
>
> Flag name on chrome://flagsNavigationActivation
>
> Finch feature nameNone
>
> Non-finch justification
>
> It's a web-API, exposing it gradually doesn't make sense.
>

I'm always unsure about this, but I believe "Finch feature name" is the
flag you'd put in runtime_enabled_features.json5. It can be used by Finch
as a kill-switch in case the feature causes some regression in the wild.
For this feature, the chrome:://flags flag isn't there though (correct me
if I'm wrong)

>
>
> Requires code in //chrome?False
>
> Estimated milestones
> Shipping on desktop 123
> Shipping on Android 123
> Shipping on WebView 123
> Shipping on WebView 123
>
> Anticipated spec changes
>
> Open questions about a feature may be a source of future web compat or
> interop issues. Please list open issues (e.g. links to known github issues
> in the project for the feature specification) whose resolution may
> introduce web compat/interop risk (e.g., changing to naming or structure of
> the API in a non-backward-compatible way).
> None
>
> Link to entry on the Chrome Platform Status
> https://chromestatus.com/feature/5076557983121408
>
> Links to previous Intent discussionsIntent to prototype:
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACf%3D2LJa-_9cEjMU3Ds660KmW0u_G_M9S1Ah-14gAfk9Qhrp2g%40mail.gmail.com
>
> This intent message was generated by Chrome Platform Status
> .
>
> --
> 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/CAJn%3DMYZLDnYwfav4o7vMLAWE9o_irDceWxKabqcpBbb4e4byDQ%40mail.gmail.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/CADsXd2MCMUjAyK5n-9%3D%3DR4EdbkVqcf9%2BwALHf9phaqG9iaxuww%40mail.gmail.com.


[blink-dev] Intent to Ship: NavigationActivation

2024-01-26 Thread Noam Rosenthal
Contact emailsjap...@chromium.org, nrosent...@chromium.org

Explainer
https://github.com/WICG/view-transitions/blob/main/navigation-activation-explainer.md

Specification
https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-activation-interface

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 componentBlink>History


TAG reviewhttps://github.com/w3ctag/design-reviews/issues/921

TAG review statusIssues addressed

Risks


Interoperability and Compatibility

None


*Gecko*: Positive (https://github.com/mozilla/standards-positions/issues/928
)

*WebKit*: No signal (
https://github.com/WebKit/standards-positions/issues/282)

*Web developers*: Positive

*Other signals*:

Security

This is a cross-document (navigation) feature, so designing it we needed to
take care of cross-origin navigation related risks. Since
`navigation.activation` is part of the navigation API, it uses the same
semantics and protections. We only expose things that are otherwise exposed
by the navigation API or in other means.


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


Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux, ChromeOS, Android, and Android WebView)?Yes

Is this feature fully tested by web-platform-tests

?Yes

https://wpt.fyi/results/navigation-api/navigation-activation?label=master=experimental=navigation%20activation


Flag name on chrome://flagsNavigationActivation

Finch feature nameNone

Non-finch justification

It's a web-API, exposing it gradually doesn't make sense.


Requires code in //chrome?False

Estimated milestones
Shipping on desktop 123
Shipping on Android 123
Shipping on WebView 123
Shipping on WebView 123

Anticipated spec changes

Open questions about a feature may be a source of future web compat or
interop issues. Please list open issues (e.g. links to known github issues
in the project for the feature specification) whose resolution may
introduce web compat/interop risk (e.g., changing to naming or structure of
the API in a non-backward-compatible way).
None

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

Links to previous Intent discussionsIntent to prototype:
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACf%3D2LJa-_9cEjMU3Ds660KmW0u_G_M9S1Ah-14gAfk9Qhrp2g%40mail.gmail.com

This intent message was generated by Chrome Platform Status
.

-- 
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/CAJn%3DMYZLDnYwfav4o7vMLAWE9o_irDceWxKabqcpBbb4e4byDQ%40mail.gmail.com.