- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 09 Apr 2025 05:24:31 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 April 2025 12:24:35 UTC
@annevk commented on this pull request. > + +<div algorithm> +<p>To <dfn export>potentially free deferred-fetch quota</dfn> for a {{Document}} +<var>document</var>, if <var>document</var>'s <a>node navigable</a>'s <a>container document</a> is +not null, and its <a for=Document>origin</a> is <a>same origin</a> with <var>document</var>, then +set <var>document</var>'s <a>node navigable</a>'s <a>navigable container</a>'s +<a>reserved deferred-fetch quota</a> to 0. + +<p class=note>This is called when a {{Document}} is created. It ensures that same-origin nested +documents don't reserve quota, as they anyway share their parent quota. It can only be called upon +document creation, as the <a for=Document>origin</a> of the {{Document}} is only known after +redirects are handled. +</div> + +<div algorithm> +<p>To get the <dfn>deferred-fetch control document</dfn> of a {{Document}} <var>document</var>: That's fine too. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#discussion_r2035254709 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/2753286739@github.com>
Received on Wednesday, 9 April 2025 12:24:35 UTC