- From: Ming-Ying Chung <notifications@github.com>
- Date: Mon, 04 Sep 2023 09:54:52 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 September 2023 16:54:58 UTC
@mingyc commented on this pull request.
> +<var>inactivityDeferredDelay</var> (default null):
+
+<ol>
+ <li><p>Assert: <var>request</var>'s <a for=request>client</a> is an
+ <a>environment settings object</a>.
+
+ <li>Let <var>totalScheduledDeferredBytesForOrigin</var> be 0.
+
+ <li>
+ <p>If <var>request</var>'s <a for=request>body</a> is not null then:
+
+ <ol>
+ <li><p>If <var>request</var>'s
+ <a for=request>body</a>'s <a for=body>length</a> is null, then throw a {{TypeError}}.
+
+ <li><p>Set <var>totalScheduledDeferredBytesForOrigin</var> to <var>request</var>'s
```
Set totalScheduledDeferredBytesForOrigin to request's body length.
```
Could the step to throw QuotaError below also be run here to allow early termination? This single request may be already exceeding the 1KB quota.
```
If totalScheduledDeferredBytesForOrigin is greater than 64 kilobytes, then throw a QuotaExceededError.
```
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1647#pullrequestreview-1609828801
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1647/review/1609828801@github.com>
Received on Monday, 4 September 2023 16:54:58 UTC