Intent to Experiment | Deprecation Trial For Disallowing Sync XHR in Page Dismissal

2,024 рдмрд╛рд░ рджреЗрдЦрд╛ рдЧрдпрд╛
рдирд╣реАрдВ рдкрдврд╝реЗ рдЧрдП рдкрд╣рд▓реЗ рдореИрд╕реЗрдЬ рдкрд░ рдЬрд╛рдПрдВ

Katie Dillon

рдирд╣реАрдВ рдкрдврд╝реА рдЧрдИ,
3 рд╕рд┐рддре░ 2019, 12:02:16 pm3/9/19
рдИрдореЗрд▓ рдкрд╛рдиреЗ рд╡рд╛рд▓рд╛ blink-dev

Contact emails

kdi...@chromium.org,┬аpanicker@chromium.org┬а

Spec
N/A

Summary

Disallow Sync XHR during page dismissal when the page is being navigated away or closed by the user, this involves the following events (when fired on the path of page dismissal) i.e. beforeunload, unload, pagehide and visibilitychange.


Link to тАЬIntent to ImplementтАЭ blink-dev discussion

The intent to implement and ship deprecation is┬аhere.

Goals for experimentation

Give sites a way to have more time to migrate while allowing us to turn off the feature as planned in M78.

Experimental timeline

The experiment will start in M78 when the feature ships and tentatively go through M86.┬а┬а

Any risks when the experiment finishes?

After the origin trial expires any sites that continue to use synchronous┬аxhr in page dismissal will break.

Ongoing technical constraints

None.


Debuggability

Use of this feature is reported in the DevTools console.


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

Chromestatus entry is┬аhere.

Ojan Vafai

рдирд╣реАрдВ рдкрдврд╝реА рдЧрдИ,
5 рд╕рд┐рддре░ 2019, 2:51:23 pm5/9/19
рдИрдореЗрд▓ рдкрд╛рдиреЗ рд╡рд╛рд▓рд╛ Katie Dillon, blink-dev
LGTM

This gives sites a (temporary) opt-out for a feature we're already tried deprecating where we don't know of any sites that need the opt-out and it's just a defensive measure to ensure sites have┬аtime to manage a transition in case we missed anything the last time this went to stable.

On Tue, Sep 3, 2019 at 9:02 AM Katie Dillon <kdi...@chromium.org> wrote:

--
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/fb2f4428-7b60-4a7b-af67-d1844b03b608%40chromium.org.
рд╕рднреА рдХреЛ рдЬрд╡рд╛рдм рджреЗрдВ
рдИрдореЗрд▓ рднреЗрдЬрдиреЗ рд╡рд╛рд▓реЗ рдХреЛ рдЬрд╡рд╛рдм рджреЗрдВ
рдЖрдЧреЗ рднреЗрдЬреЗрдВ
0 рдирдпрд╛ рдореИрд╕реЗрдЬ