-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch KeepAlive Quota Tests #4878
Fetch KeepAlive Quota Tests #4878
Conversation
Initial add of quota tests for keepalive fetch requests.
Notifying @jdm and @youennf. (Learn how reviewing works.) |
Chrome (unstable channel)Testing web-platform-tests at revision 9e878bd All results1 test ran/fetch/api/request/request-keepalive-quota.html
|
Firefox (nightly channel)Testing web-platform-tests at revision 9e878bd All results1 test ran/fetch/api/request/request-keepalive-quota.html
|
Thanks, I already reviewed these in #4788 and they still look good. I'd like to land them together with whatwg/fetch#419 which still needs a bit of rebasing work. |
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 also set by sendBeacon(). Background: w3c/beacon#39. Tests: web-platform-tests/wpt#4878.
Thanks again for writing these! |
Initial add of quota tests for keepalive fetch requests.