WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
Bug 168865
[Fetch API] Support keepalive flag and enforce limit on inflight keepalive bytes
https://bugs.webkit.org/show_bug.cgi?id=168865
Summary
[Fetch API] Support keepalive flag and enforce limit on inflight keepalive bytes
Ilya Grigorik
Reported
2017-02-24 22:26:07 PST
https://github.com/whatwg/fetch/pull/419
> Requests with keepalive flag set are allowed to outlive the environment > settings object. We want to make sure that such requests do not > negatively impact the user experience when a page is unloaded, etc. > > This limits the amount of (body) bytes that can be inflight at any point > when the request has the keepalive flag set; this flag is set by > sendBeacon.
Expected results: Webkit should support the keepalive flag & enforce the inflight byte limit.
Attachments
Add attachment
proposed patch, testcase, etc.
Thomas Wang
Comment 1
2021-02-21 20:47:12 PST
Is this already implemented? WPT are passing on Safari -
https://wpt.fyi/results/fetch/api/basic/keepalive.html
-
https://wpt.fyi/results/fetch/api/request/request-keepalive-quota.html%3Finclude%3Dslow-3
Anne van Kesteren
Comment 2
2023-11-21 07:28:52 PST
Yeah, there's an implementation of keepalive in WebKit.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug