Intent to Experiment: Force Load At Top

164 views
Skip to first unread message

Nick Burris

unread,
Apr 2, 2020, 6:14:21 PM4/2/20
to blink-dev, David Bokan

Contact emails

nbu...@chromium.org, bo...@chromium.org


Summary

The purpose of ForceLoadAtTop is to provide an opt-out for Scroll To Text for privacy sensitive sites, as discussed in WICG/ScrollToTextFragment#80. The ForceLoadAtTop feature allows sites to indicate that they should be loaded at the top of the page, and not perform any scroll on load, including element fragment identifiers, scroll restoration, and Scroll To Text. I have implemented a Document Policy for ForceLoadAtTop, however the Document Policy feature itself has not shipped yet, so this origin trial is intended to bridge the gap and provide an opt-out for scroll to text until the document policy is available. Sites enrolled in this ForceLoadAtTop origin trial will behave as if the ForceLoadAtTop document policy header is present.


Link to “Intent to Prototype” blink-dev discussion

This is essentially an opt-out trial for Scroll To Text: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/zlLSxQ9BA8Y

Goals for experimentation

We expect usage to be pretty low, and won't provide much insight as this is simply an opt-out.


Experimental timeline

M83 - M87


Any risks when the experiment finishes?

Sites that wish to continue using the ForceLoadAtTop feature will have to add the HTTP header: "Document-Policy: force-load-at-top".


Ongoing technical constraints

None.


Will this feature be supported on all five Blink platforms supported by Origin Trials (Windows, Mac, Linux, Chrome OS, and Android)?

Yes.


Link to entry on the feature dashboard

https://www.chromestatus.com/feature/5744681033924608

Yoav Weiss

unread,
Apr 3, 2020, 12:40:18 PM4/3/20
to Nick Burris, blink-dev, David Bokan
IIUC this will enable sites that are interested in preventing anchor and direct-text scrolls to try out the new semantics that the related Document Policy will provide.

Do you know when the Document Policy is planned to ship? Is there a point in running the OT after it does?

--
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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADvKJHM7YeXq_ZVQP_nUFcP5qRyctLXhypO_UKSbfAu6WnCbAQ%40mail.gmail.com.

Nick Burris

unread,
Apr 3, 2020, 1:17:59 PM4/3/20
to blink-dev, nbu...@chromium.org, bo...@chromium.org
Hey Yoav,

Indeed we can end this OT when Document Policy ships. They have a tentative plan to ship or do their own origin trial in M84, but there are still some issues being addressed so it's uncertain.

Nick
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Joe Medley

unread,
Apr 6, 2020, 1:19:48 PM4/6/20
to Nick Burris, blink-dev, David Bokan
Nick,

Do you have a tracking bug for this?

Joe
Joe Medley | Technical Writer, Chrome DevRel | jme...@google.com | 816-678-7195
If an API's not documented it doesn't exist.


--
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+...@chromium.org.

nbu...@google.com

unread,
Apr 6, 2020, 2:14:41 PM4/6/20
to blink-dev, nbu...@chromium.org, bo...@chromium.org
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.

Yoav Weiss

unread,
Apr 7, 2020, 3:00:39 AM4/7/20
to nbu...@google.com, blink-dev, Nick Burris, David Bokan
LGTM to experiment in M83-84.
If the Document Policy OT will not be in place by the end of M84, let's rediscuss to see if an extension is needed.


To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e6ffdf8f-1b08-46d8-962f-49830a326a32%40chromium.org.
Reply all
Reply to author
Forward
0 new messages