- From: Noam Rosenthal <notifications@github.com>
- Date: Thu, 02 Jan 2025 02:11:03 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 January 2025 10:29:42 UTC
@noamr commented on this pull request. > + <a for="fetch group">deferred fetch records</a>:</p> + + <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>quotaForRequestOrigin</var> by <var>requestLength</var>. + </ol> + + <li><p>If <var>quota</var> is equal or less than 0, then return 0. + + <li><p>If <var>quota</var> is less than <var>quotaForRequestOrigin</var>, then return Right, for a specific request they can never get more than 64kb at this point, even though their overall quota would be 512kb. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#discussion_r1900719247 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/2527310823@github.com>
Received on Thursday, 2 January 2025 10:29:42 UTC