Contact emails

mc...@chromium.org

Explainer

https://github.com/WICG/nav-speculation/blob/main/triggers.md#explicit-referrer-policy

Specification

https://wicg.github.io/nav-speculation/speculation-rules.html

Summary

This extends the speculation rules [1] syntax to allow developers to 
specify the referrer policy to use with speculative requests triggered by 
speculation rules.

This also reintroduces the "sufficiently-strict referrer policy" 
requirement [2].

[1] https://chromestatus.com/feature/5740655424831488

[2] 
https://github.com/WICG/nav-speculation/blob/main/fetch.md#stripping-referrer-information


Blink component

Internals>Preload 
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Internals%3EPreload>

TAG review

https://github.com/w3ctag/design-reviews/issues/721

TAG review status

Pending

Risks

Interoperability and Compatibility

Gecko: No signal (https://github.com/mozilla/standards-positions/issues/620)

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

Web developers: Positive We have a partner that requires this capability to 
adopt cross-site prefetch, and another that requires this for same-origin 
prerendering.

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?

No. Enforcing the referrer policy requirement would not cause user-visible 
breakage, since preloading is a performance-enhancement feature that isn't 
guaranteed to trigger anyway.


Debuggability

In the DevTools Network tab, the speculative request can be selected to see 
referrer information.


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

Yes

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

SpeculationRulesReferrerPolicyKey (Runtime Enabled Feature)

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1355146

Estimated milestones

We would like to ship this in M111.


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 anticipated.

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/4694585584910336

Links to previous Intent discussions

Intent to prototype: 
https://groups.google.com/a/chromium.org/g/blink-dev/c/qzElfWpzWXg/m/yC8gOtcBAwAJ


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/22336820-9073-4613-807b-66049ee8b9e9n%40chromium.org.

Reply via email to