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

@tunetheweb commented on this pull request.



> +
+<p>The top-level {{Document}}, and subsequently its nested documents, can control how much of their
+quota is delegates to cross-origin child documents, using permissions policy. By default,
+the "{{PermissionsPolicy/deferred-fetch-minimal}}" policy is enabled for any origin, while
+"{{PermissionsPolicy/deferred-fetch}}" is enabled for the top-level document's origin only.
+By relaxing the "{{PermissionsPolicy/deferred-fetch}}" policy for particular origins and nested
+documents, the top-level document can allocate 64 kibibytes to those nested documents. Similarly, by
+restricting the "{{PermissionsPolicy/deferred-fetch-minimal}}" policy for a particular origin or
+nested document, the document can prevent the document from reserving the 8 kibibytes it would
+receive by default. By disabling the "{{PermissionsPolicy/deferred-fetch-minimal}}" policy for the
+top-level document itself, the entire 128 kibibytes delegated quota is collected back into the main
+pool of 640 kibibytes.
+
+<p>Out of the allocated quota for a {{Document}}, only 64 kibibytes can be used concurrently for the
+same reporting origin (the <a for=/>request</a>'s <a for=request>URL</a>'s <a for=url>origin</a>).
+This prevents a situation where particular 3rd party libraries would reserve quota

Nit: should be hypenated when used as an adjective:

```suggestion
This prevents a situation where particular 3rd-party libraries would reserve quota
```

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

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

Received on Monday, 7 April 2025 14:40:01 UTC