Skip to content

Conversation

@TimvdLippe
Copy link
Contributor

@TimvdLippe TimvdLippe commented Jan 4, 2026

There were two missing parts:

  1. The body can either be null or empty (it was missing the
    empty case)
  2. Quota computation shouldn't include aborted or already
    completed requests. WPT uses AbortController to ensure
    quota is freed up. This also makes sense, since they are
    no longer relevant. Therefore, only consider pending
    deferred fetches when computing quota.

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

There were two missing parts:
1. The body can either be null or empty (it was missing the
empty case)
2. Quota computation shouldn't include aborted or already
completed requests. WPT uses `AbortController` to ensure
quota is freed up. This also makes sense, since they are
no longer relevant. Therefore, only consider pending
deferred fetches when computing quota.
@TimvdLippe
Copy link
Contributor Author

FYI @noamr PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant