Skip to content

Commit 54cc33c

Browse files
committed
Remove wrong use of reporting origin
1 parent 305b3a0 commit 54cc33c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

fetch.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6898,13 +6898,9 @@ This specification defined a <a>policy-controlled feature</a> identified by the
68986898
<li>
68996899
<p>If <var>document</var>'s <a>node navigable</a> is a <a for=/>top-level traversable</a> then:
69006900
<ol>
6901-
<li><p>Let <var>origin</var> be <var>document</var>'s <a for=Document>URL</a>'s
6902-
<a for=url>origin</a>.
6903-
69046901
<li><p>If <var>document</var> is not <a>allowed to use</a> the
69056902
<a>policy-controlled feature</a> {{PermissionPolicy/"deferred-fetch"}}, then return 0.
69066903

6907-
<li>
69086904
<li><p>If <var>document</var> is <a>allowed to use</a> the
69096905
<a>policy-controlled feature</a> {{PermissionPolicy/"deferred-fetch-minimal"}}, then set
69106906
<var>remainingTotalQuota</var> to 512 kibibytes.
@@ -6917,12 +6913,16 @@ This specification defined a <a>policy-controlled feature</a> identified by the
69176913
<p class="note allow-2119">640kb should be enough for everyone.
69186914
</ol>
69196915

6920-
<li><p>Otherwise, of the result of calling [$Is feature enabled in document for origin?$] given
6921-
<var>document</var>'s <a>node navigable</a>'s <a for=navigable>container</a>'s
6922-
<a>deferred fetch policy</a>, <var>document</var> and <var>origin</var> is
6923-
<code>Enabled</code>, then set <var>remainingTotalQuota</var> to the
6924-
<a>initial subframe deferred fetch quota</a> given <var>document</var>'s <a>node navigable</a>'s
6925-
<a for=navigable>container</a>'s <a>deferred fetch policy</a>.
6916+
<li>
6917+
<p>Otherwise:</p>
6918+
<ol>
6919+
<li><p>Let <var>containerPolicy</var> be <var>document</var>'s <a>node navigable</a>'s
6920+
<a for=navigable>container</a>'s <a>deferred fetch policy</a>.
6921+
6922+
<li><p>If <var>containerPolicy</var> is not <code>disabled</code> and <var>document</var> is
6923+
<a>allowed to use</a> <var>containerPolicy</var>, then set <var>remainingTotalQuota</var> to
6924+
the <a>initial subframe deferred fetch quota</a> given <var>containerPolicy</var>.
6925+
</ol>
69266926
</ol>
69276927

69286928
<li><p>Let <var>remainingQuotaForOrigin</var> be <var>remainingTotalQuota</var>.

0 commit comments

Comments
 (0)