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

@mingyc commented on this pull request.



> +      <p class=note>Account for quota on deferred fetches performed by <a>same origin</a> clients.
+
+      <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

```
If otherDocument’s container document is a Document whose origin is same origin with requestClientDocument’s origin,
```

If `otherDocument` is the root document, `otherDocument’s container document` will be null right?


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

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

Received on Thursday, 12 December 2024 08:12:48 UTC