Skip to content

Commit c14447b

Browse files
committed
Fix check of request initiator being "fetch"
1 parent 8fe5fe8 commit c14447b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4313,12 +4313,12 @@ this algorithm returns normally if compilation is allowed, and throws a
43134313
1. If |request|'s [=request/initiator=] is "`prefetch`" or "`prerender`",
43144314
return `default-src`.
43154315

4316-
2. If |request|'s <a for="request">initiator</a> is "`fetch`" or its
4317-
<a for="request">destination</a> is "", return `connect-src`.
4318-
4319-
3. Switch on |request|'s <a for="request">destination</a>, and execute
4316+
2. Switch on |request|'s <a for="request">destination</a>, and execute
43204317
the associated steps:
43214318

4319+
: ""
4320+
::
4321+
1. Return `connect-src`.
43224322
: "`manifest`"
43234323
::
43244324
1. Return `manifest-src`.
@@ -4372,7 +4372,7 @@ this algorithm returns normally if compilation is allowed, and throws a
43724372
::
43734373
1. Return null.
43744374

4375-
4. Return `connect-src`.
4375+
3. Return `connect-src`.
43764376

43774377
Note: The algorithm returns `connect-src` as a default fallback. This is
43784378
intended for new fetch destinations that are added and which don't explicitly

0 commit comments

Comments
 (0)