@@ -2762,7 +2762,7 @@ not <a for=Document>fully active</a>. It has the following <a for=struct>items</
2762
2762
</dl>
2763
2763
2764
2764
<p> Each <a>navigable container</a> has an associated number
2765
- <dfn>nested document reserved deferred-fetch quota</dfn> . Unless stated otherwise, it is 0.
2765
+ <dfn>reserved deferred-fetch quota</dfn> . Unless stated otherwise, it is 0.
2766
2766
2767
2767
<hr>
2768
2768
@@ -7006,15 +7006,15 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7006
7006
7007
7007
<div algorithm>
7008
7008
<p> To get the <dfn>available deferred-fetch quota</dfn> given a {{Document}}
7009
- <var> document </var> and an <a for=/>origin</a> -or-null <var> origin</var> :
7009
+ <var> requestClientDocument </var> and an <a for=/>origin</a> -or-null <var> origin</var> :
7010
7010
7011
7011
<ol>
7012
7012
<li><p> Let <var> quota</var> be 0.
7013
7013
7014
7014
<li><p> Let <var> quotaForOrigin</var> be 64 kibibytes.
7015
7015
7016
7016
<li>
7017
- <p> For each <var> otherNavigable</var> of <var> document </var> 's <a>node navigable</a>' s
7017
+ <p> For each <var> otherNavigable</var> of <var> requestClientDocument </var> 's <a>node navigable</a>' s
7018
7018
<a for=navigable>top-level traversable</a> 's <a>inclusive descendant navigables</a> :
7019
7019
7020
7020
<p class=note> This algorithm iterates over the entire navigable tree. It accumulates quota from
@@ -7024,14 +7024,14 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7024
7024
7025
7025
<ol>
7026
7026
<li><p> Let <var> otherDocument</var> be <var> otherNavigable</var> 's <a>active document</a> .
7027
+ <li><p> Let <var> otherContainer</var> be <var> otherNavigable</var> 's <a>navigable container</a> .
7027
7028
7028
7029
<li>
7029
- <p> If <var> document </var> 's <a for=Document>origin</a> is <a>same origin</a> with
7030
+ <p> If <var> requestClientDocument </var> 's <a for=Document>origin</a> is <a>same origin</a> with
7030
7031
<var> otherDocument</var> 's <a for=Document>origin</a> , then:
7031
7032
<ol>
7032
7033
<li>
7033
- <p> If <var> otherDocument</var> 's <a>node navigable</a> is a
7034
- <a for=/>top-level traversable</a> , then:
7034
+ <p> If <var> otherContainer</var> is null, then:
7035
7035
7036
7036
<p class=note> Initialize the quota from the top-level traversable.
7037
7037
@@ -7049,27 +7049,25 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7049
7049
<li><p> If <var> otherDocument</var> is <a>allowed to use</a> the
7050
7050
<a>policy-controlled feature</a> "{{PermissionsPolicy/deferred-fetch-minimal}} ", then
7051
7051
decrement <var> quota</var> by <a>max containers with minimal quota</a> , multiplied by
7052
- <a>minimal nested document deferred-fetch quota</a> .
7052
+ <a for="reserved deferred-fetch quota">minimal </a> .
7053
7053
</ol>
7054
7054
7055
7055
<li>
7056
7056
<p> Otherwise, if any of the following conditions is true:
7057
7057
<ul class=brief>
7058
- <li><p><var> otherNavigable</var> 's <a>navigable container</a>' s
7059
- <a>nested document reserved deferred-fetch quota</a> is
7060
- <a>optional nested document deferred-fetch quota</a> , and <var> otherDocument</var> is
7058
+ <li><p><var> otherContainer</var> 's <a>reserved deferred-fetch quota</a> is
7059
+ <a for="reserved deferred-fetch quota">normal</a> , and <var> otherDocument</var> is
7061
7060
<a>allowed to use</a> the <a>policy-controlled feature</a>
7062
7061
"{{PermissionsPolicy/deferred-fetch}} "
7063
7062
7064
- <li><p><var> otherNavigable</var> 's <a>navigable container</a>' s
7065
- <a>nested document reserved deferred-fetch quota</a> is
7066
- <a>minimal nested document deferred-fetch quota</a> , and <var> otherDocument</var> is
7063
+ <li><p><var> otherContainer</var> 's <a>reserved deferred-fetch quota</a> is
7064
+ <a for="reserved deferred-fetch quota">minimal</a> , and <var> otherDocument</var> is
7067
7065
<a>allowed to use</a> the <a>policy-controlled feature</a>
7068
7066
"{{PermissionsPolicy/deferred-fetch-minimal}} "
7069
7067
</ul>
7070
7068
7071
- <p> then increment <var> quota</var> by <var> otherNavigable </var> 's <a>navigable container</a >' s
7072
- <a>nested document reserved deferred-fetch quota</a> .
7069
+ <p> then increment <var> quota</var> by <var> otherContainer </var> 's
7070
+ <a>reserved deferred-fetch quota</a> .
7073
7071
7074
7072
<li>
7075
7073
<p> <a for=list>For each</a> <a>deferred fetch record</a> <var> deferredRecord</var> of
@@ -7088,9 +7086,9 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7088
7086
</ol>
7089
7087
7090
7088
<li><p> Otherwise, if <var> otherDocument</var> 's <a>container document</a> is a {{Document}} whose
7091
- <a for=Document>origin</a> is <a>same origin</a> with <var> document </var> 's
7089
+ <a for=Document>origin</a> is <a>same origin</a> with <var> requestClientDocument </var> 's
7092
7090
<a for=Document>origin</a> , then decrement <var> quota</var> by <var> otherNavigable</var> 's
7093
- <a>navigable container</a> 's <a>nested document reserved deferred-fetch quota</a> .
7091
+ <a>navigable container</a> 's <a>reserved deferred-fetch quota</a> .
7094
7092
</ol>
7095
7093
7096
7094
<li><p> If <var> quota</var> is less than 0, than return 0.
@@ -7122,8 +7120,8 @@ shared.
7122
7120
for "{{PermissionsPolicy/deferred-fetch}} ", <var> container</var> and <var> originToNavigateTo</var>
7123
7121
is <code> Enabled</code> , and the <a>available deferred-fetch quota</a> for
7124
7122
<var> container</var> 's <a>container document</a> is equal or greater than
7125
- <a>optional nested document deferred-fetch quota</a> , then set <var> container</var> 's
7126
- <a>reserved deferred-fetch quota</a> to <a>optional nested document deferred-fetch quota</a> and
7123
+ <a for="reserved deferred-fetch quota">normal </a> , then set <var> container</var> 's
7124
+ <a>reserved deferred-fetch quota</a> to <a for="reserved deferred-fetch quota">normal </a> and
7127
7125
return.
7128
7126
7129
7127
<li><p> If the <a data-lt="define an inherited policy for feature in container">inherited policy</a>
@@ -7139,11 +7137,11 @@ shared.
7139
7137
<a>node navigable</a> 's <a for=navigable>top-level traversable</a>' s
7140
7138
<a>descendant navigables</a> , <a for=list data-lt=remove>removing</a> any <a for=/>navigable</a>
7141
7139
whose <a>reserved deferred-fetch quota</a> is not
7142
- <a>minimal nested document deferred-fetch quota</a> .
7140
+ <a for="reserved deferred-fetch quota">minimal </a> .
7143
7141
7144
7142
<li><p> If <var> containersWithReservedMinimalQuota</var> 's <a for=list>size</a> is less
7145
7143
than <a>max containers with minimal quota</a> , then set <var> container</var> 's
7146
- <a>reserved deferred-fetch quota</a> to <a>minimal nested document deferred-fetch quota</a> .
7144
+ <a>reserved deferred-fetch quota</a> to <a for="reserved deferred-fetch quota">minimal </a> .
7147
7145
</ol>
7148
7146
</div>
7149
7147
0 commit comments