- From: Ming-Ying Chung <notifications@github.com>
- Date: Tue, 10 Dec 2024 21:44:14 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1647/review/2494369987@github.com>
@mingyc commented on this pull request. > +<ol> + <li><p>Let <var>quota</var> be zero. + + <li><p>Let <var>quotaForOrigin</var> be 64 kibibytes. + + <li> + <p>For each <var>otherNavigable</var> in <var>document</var>'s <a>node navigable</a>'s + <a for=navigable>top-level traversable</a>'s <a>inclusive descendant navigables</a>: + + <p class=note>This algorithm iterates over the entire navigable tree. It accumulates quota from + the <a for=/>top-level traversable</a>, and from subframes who inherit quota from cross-origin or + cross-agent navigables. Subsequently, it subtracts the quota delegated to cross-origin or + cross-agent subframes, as well as quota spent on pending deferred fetch requests. + + <ol> + <li><p>Let <var>otherDocument</var> be <var>otherNavigable</var>'s <a>active document</a>. ``` Let otherDocument be otherNavigable’s active document. ``` `` root document (a.com) -> <div> -> frame_a (a.com) -> <div> -> frame_b (a.com) ``` * When `otherNavigable` = `frame_a`, is `otherDocument` == root? * When `otherNavigable` = `frame_b`, is `otherDocument` == `frame_a`'s content document? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#pullrequestreview-2494369987 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/2494369987@github.com>
Received on Wednesday, 11 December 2024 05:44:18 UTC