@@ -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
@@ -7002,15 +7002,15 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7002
7002
7003
7003
<div algorithm>
7004
7004
<p> To get the <dfn>available deferred-fetch quota</dfn> given a {{Document}}
7005
- <var> document </var> and an <a for=/>origin</a> -or-null <var> origin</var> :
7005
+ <var> requestClientDocument </var> and an <a for=/>origin</a> -or-null <var> origin</var> :
7006
7006
7007
7007
<ol>
7008
7008
<li><p> Let <var> quota</var> be 0.
7009
7009
7010
7010
<li><p> Let <var> quotaForOrigin</var> be 64 kibibytes.
7011
7011
7012
7012
<li>
7013
- <p> For each <var> otherNavigable</var> of <var> document </var> 's <a>node navigable</a>' s
7013
+ <p> For each <var> otherNavigable</var> of <var> requestClientDocument </var> 's <a>node navigable</a>' s
7014
7014
<a for=navigable>top-level traversable</a> 's <a>inclusive descendant navigables</a> :
7015
7015
7016
7016
<p class=note> This algorithm iterates over the entire navigable tree. It accumulates quota from
@@ -7020,14 +7020,14 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7020
7020
7021
7021
<ol>
7022
7022
<li><p> Let <var> otherDocument</var> be <var> otherNavigable</var> 's <a>active document</a> .
7023
+ <li><p> Let <var> otherContainer</var> be <var> otherNavigable</var> 's <a>navigable container</a> .
7023
7024
7024
7025
<li>
7025
- <p> If <var> document </var> 's <a for=Document>origin</a> is <a>same origin</a> with
7026
+ <p> If <var> requestClientDocument </var> 's <a for=Document>origin</a> is <a>same origin</a> with
7026
7027
<var> otherDocument</var> 's <a for=Document>origin</a> , then:
7027
7028
<ol>
7028
7029
<li>
7029
- <p> If <var> otherDocument</var> 's <a>node navigable</a> is a
7030
- <a for=/>top-level traversable</a> , then:
7030
+ <p> If <var> otherContainer</var> is null, then:
7031
7031
7032
7032
<p class=note> Initialize the quota from the top-level traversable.
7033
7033
@@ -7045,27 +7045,25 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7045
7045
<li><p> If <var> otherDocument</var> is <a>allowed to use</a> the
7046
7046
<a>policy-controlled feature</a> "{{PermissionsPolicy/deferred-fetch-minimal}} ", then
7047
7047
decrement <var> quota</var> by <a>max containers with minimal quota</a> , multiplied by
7048
- <a>minimal nested document deferred-fetch quota</a> .
7048
+ <a for="reserved deferred-fetch quota">minimal </a> .
7049
7049
</ol>
7050
7050
7051
7051
<li>
7052
7052
<p> Otherwise, if any of the following conditions is true:
7053
7053
<ul class=brief>
7054
- <li><p><var> otherNavigable</var> 's <a>navigable container</a>' s
7055
- <a>nested document reserved deferred-fetch quota</a> is
7056
- <a>optional nested document deferred-fetch quota</a> , and <var> otherDocument</var> is
7054
+ <li><p><var> otherContainer</var> 's <a>reserved deferred-fetch quota</a> is
7055
+ <a for="reserved deferred-fetch quota">normal</a> , and <var> otherDocument</var> is
7057
7056
<a>allowed to use</a> the <a>policy-controlled feature</a>
7058
7057
"{{PermissionsPolicy/deferred-fetch}} "
7059
7058
7060
- <li><p><var> otherNavigable</var> 's <a>navigable container</a>' s
7061
- <a>nested document reserved deferred-fetch quota</a> is
7062
- <a>minimal nested document deferred-fetch quota</a> , and <var> otherDocument</var> is
7059
+ <li><p><var> otherContainer</var> 's <a>reserved deferred-fetch quota</a> is
7060
+ <a for="reserved deferred-fetch quota">minimal</a> , and <var> otherDocument</var> is
7063
7061
<a>allowed to use</a> the <a>policy-controlled feature</a>
7064
7062
"{{PermissionsPolicy/deferred-fetch-minimal}} "
7065
7063
</ul>
7066
7064
7067
- <p> then increment <var> quota</var> by <var> otherNavigable </var> 's <a>navigable container</a >' s
7068
- <a>nested document reserved deferred-fetch quota</a> .
7065
+ <p> then increment <var> quota</var> by <var> otherContainer </var> 's
7066
+ <a>reserved deferred-fetch quota</a> .
7069
7067
7070
7068
<li>
7071
7069
<p> <a for=list>For each</a> <a>deferred fetch record</a> <var> deferredRecord</var> of
@@ -7084,9 +7082,9 @@ descendants share a quota of 384 kibibytes. That value is computed as such:
7084
7082
</ol>
7085
7083
7086
7084
<li><p> Otherwise, if <var> otherDocument</var> 's <a>container document</a> is a {{Document}} whose
7087
- <a for=Document>origin</a> is <a>same origin</a> with <var> document </var> 's
7085
+ <a for=Document>origin</a> is <a>same origin</a> with <var> requestClientDocument </var> 's
7088
7086
<a for=Document>origin</a> , then decrement <var> quota</var> by <var> otherNavigable</var> 's
7089
- <a>navigable container</a> 's <a>nested document reserved deferred-fetch quota</a> .
7087
+ <a>navigable container</a> 's <a>reserved deferred-fetch quota</a> .
7090
7088
</ol>
7091
7089
7092
7090
<li><p> If <var> quota</var> is less than 0, than return 0.
@@ -7118,8 +7116,8 @@ shared.
7118
7116
for "{{PermissionsPolicy/deferred-fetch}} ", <var> container</var> and <var> originToNavigateTo</var>
7119
7117
is <code> Enabled</code> , and the <a>available deferred-fetch quota</a> for
7120
7118
<var> container</var> 's <a>container document</a> is equal or greater than
7121
- <a>optional nested document deferred-fetch quota</a> , then set <var> container</var> 's
7122
- <a>reserved deferred-fetch quota</a> to <a>optional nested document deferred-fetch quota</a> and
7119
+ <a for="reserved deferred-fetch quota">normal </a> , then set <var> container</var> 's
7120
+ <a>reserved deferred-fetch quota</a> to <a for="reserved deferred-fetch quota">normal </a> and
7123
7121
return.
7124
7122
7125
7123
<li><p> If the <a data-lt="define an inherited policy for feature in container">inherited policy</a>
@@ -7135,11 +7133,11 @@ shared.
7135
7133
<a>node navigable</a> 's <a for=navigable>top-level traversable</a>' s
7136
7134
<a>descendant navigables</a> , <a for=list data-lt=remove>removing</a> any <a for=/>navigable</a>
7137
7135
whose <a>reserved deferred-fetch quota</a> is not
7138
- <a>minimal nested document deferred-fetch quota</a> .
7136
+ <a for="reserved deferred-fetch quota">minimal </a> .
7139
7137
7140
7138
<li><p> If <var> containersWithReservedMinimalQuota</var> 's <a for=list>size</a> is less
7141
7139
than <a>max containers with minimal quota</a> , then set <var> container</var> 's
7142
- <a>reserved deferred-fetch quota</a> to <a>minimal nested document deferred-fetch quota</a> .
7140
+ <a>reserved deferred-fetch quota</a> to <a for="reserved deferred-fetch quota">minimal </a> .
7143
7141
</ol>
7144
7142
</div>
7145
7143
0 commit comments