Re: [whatwg/fetch] Deferred fetching (PR #1647)

@mingyc commented on this pull request.



> +      <ol>
+       <li><p>Let <var>requestLength</var> be the <a>total request length</a> of
+       <var>deferredRecord</var>'s <a for="deferred fetch record">request</a>.
+
+       <li><p>Decrement <var>quota</var> by <var>requestLength</var>.
+
+       <li><p>If <var>deferredRecord</var>'s <a for="deferred fetch record">request</a>'s
+       <a for=request>URL</a>'s <a for=url>origin</a> is <a>same origin</a> with <var>origin</var>,
+       then decrement <var>quotaForOrigin</var> by <var>requestLength</var>.
+      </ol>
+    </ol>
+
+   <li>
+    <p>If <var>otherDocument</var>'s <a>container document</a> is a {{Document}} whose
+    <a for=Document>origin</a> is <a>same origin</a> with <var>requestClientDocument</var>'s
+    <a for=Document>origin</a>, then decrement <var>quota</var> by <var>otherNavigable</var>'s

```
then decrement quota by otherNavigable’s navigable container’s reserved deferred-fetch quota.
```

Can `otherNavigable’s navigable container` just be `otherContainer` which is declared above?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1647#pullrequestreview-2498035874
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1647/review/2498035874@github.com>

Received on Thursday, 12 December 2024 07:21:22 UTC