fetchLater() is a JavaScript API to request a deferred fetch. Once called, the request is queued by the browser, and will be invoked in one of the following scenarios: • The document is destroyed. • After a certain time. The API returns a FetchLaterResult that contains a boolean field "activated" that may be updated to tell whether the deferred request has been sent out or not. On successful sending, the whole response will be ignored by browser, including body and headers. Nothing at all should be processed or updated, as the page may have already be gone. Note that from the point of view of the API user, the exact send time is unknown.
None
https://github.com/WICG/pending-beacon/blob/main/docs/fetch-later-api.md#security-considerations https://docs.google.com/document/d/1U8XSnICPY3j-fjzG35UVm6zjwL6LvX6ETU3T8WrzLyQ/edit?pli=1#heading=h.kztg1uvdyoki
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
The OT originally spans from 121-126, we would like to extend it starting from 130-132, as there are implementation changes in between that we want to disable. The final API detail [1] is currently being discussed with WebKit Fetch folks. It is unlikely that we will ship the current OT version of the API behavior as we need to update implementation to accommodate for the decision. At the same time, we have received additional feedback after the previous OT extension. There are also new users currently trying to evaluate the API with their usage and need more time to collect the metrics, but our OT token will expire in early September. We would like to request an extension to help both of us. [1]: https://github.com/WICG/pending-beacon/issues/87#issuecomment-2315624105
See https://chromium.googlesource.com/chromium/src/+/main/docs/experiments/fetch-later.md#what_s-not-supported for what's supported and what's not supported in the OT implementation.
There are no particular debugging APIs made available or Chrome DevTools integrations yet.
This is a JS API that will be available to Blink platforms.
https://wpt.fyi/results/fetch/fetch-later
Origin trial desktop first | 121 |
Origin trial desktop last | 126 |
Origin trial extension 1 end milestone | 132 |
DevTrial on desktop | 120 |
Origin trial Android first | 121 |
Origin trial Android last | 126 |
DevTrial on Android | 120 |
Contact emails
my...@chromium.org, deno...@chromium.org, pending-beacon-experiment@google.com