Bug 168865 - [Fetch API] Support keepalive flag and enforce limit on inflight keepalive bytes
Summary: [Fetch API] Support keepalive flag and enforce limit on inflight keepalive bytes
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-24 22:26 PST by Ilya Grigorik
Modified: 2018-08-02 18:20 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Grigorik 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.