Skip to content

Commit 9c3a799

Browse files
committed
Don't compute relatives twice
1 parent 2e24866 commit 9c3a799

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

fetch.bs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6958,18 +6958,19 @@ This specification defined a <a>policy-controlled feature</a> identified by the
69586958
<a for="deferred fetch record">request</a>'s <a for=request>URL</a>'s <a for=url>origin</a> is
69596959
<a>same origin</a> with <var>origin</var>, then decrement <var>remainingQuotaForOrigin</var> by
69606960
<var>length</var>.
6961+
6962+
<li><p>Let <var>relevantContainers</var> be all the <a>shadow-including descendant</a> of
6963+
<var>navigable</var>'s <a for=navigable>active document</a> which are a
6964+
<a>navigable container</a>.
6965+
6966+
<li><p><a for=list>For each</a> <var>descendantContainer</var> of
6967+
<var>relevantContainers</var>, if <var>relativeNavigables</var> does not
6968+
<a for=list>contain</a> <var>descendantContainer</var>, then decrement
6969+
<var>remainingTotalQuota</var> by the <a>initial subframe deferred fetch quota</a> given
6970+
<var>descendantContainer</var>'s <a>deferred fetch policy</a>.
69616971
</ol>
69626972
</li>
69636973

6964-
<li><p>Let <var>relevantContainers</var> be « ».
6965-
<li><p><a for=list>For each</a> <var>relative</var> in <var>navigable</var>'s
6966-
<a>deferred fetch quota-sharing navigables</a>, <a for=list>extend</a>
6967-
<var>relevantContainers</var> with every <a>shadow-including descendant</a> of
6968-
<var>relative</var> which is a <a>navigable container</a>.
6969-
6970-
<li><p><a for=list>For each</a> <var>descendantContainer</var> of <var>relevantContainers</var>,
6971-
decrement <var>remainingTotalQuota</var> by the <a>initial subframe deferred fetch quota</a>
6972-
given <var>descendantContainer</var>'s <a>deferred fetch policy</a>.
69736974
</ol>
69746975
</li>
69756976

0 commit comments

Comments
 (0)