Dear All,

I would like to announce my intent to ship the fetch keepalive 
<https://developer.mozilla.org/en-US/docs/Web/API/Request/keepalive>feature 
in Firefox 133.

The feature was enabled by default in Bug 1923044 
<https://bugzilla.mozilla.org/show_bug.cgi?id=1923044>.

Feature Overview:
The keepalive option for the Fetch Request API allows developers to send 
requests even after the page has started unloading. This is particularly 
useful for sending analytics data, saving form data, or completing other 
tasks during page unload, without blocking the navigation.

Specification:
The feature is part of the Fetch Standard <https://fetch.spec.whatwg.org/>.

Platform Coverage:
The feature is already supported by all other major browsers 
<https://caniuse.com/mdn-api_request_keepalive>. 

Testing:
There is sufficient test coverage for this feature through Web Platform 
Tests 
<https://wpt.fyi/results/?label=master&label=experimental&aligned&q=keepalive>. 
We have also added mozilla 
<https://searchfox.org/mozilla-central/source/testing/web-platform/mozilla/tests/fetch/api/request>
-specific 
<https://searchfox.org/mozilla-central/source/testing/web-platform/mozilla/tests/fetch/api/request>
 
web-platform tests.

Compatibility:
As indicated by the web-platform test results 
<https://wpt.fyi/results/?label=master&label=experimental&aligned&q=keepalive>, 
the feature is largely compatible with other browsers. However, each 
browser implements restriction on number of keepalive requests in a non-compat 
<https://github.com/whatwg/fetch/issues/679>way. We have restricted fetch 
keepalive requests based on their origin (250 per origin) along with a 
limit on total number of pending keepalive fetch requests (500 per browser 
instance).

Please let me know if you have any questions.

Regards
Sunil

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/ae57889b-ff8a-4760-8459-efa41c0ba091n%40mozilla.org.

Reply via email to