Skip to content

Commit 9f27207

Browse files
committed
Update obtain-a-blob-object to handle top-level self-fetch
Bypasses blob URL partitioning for fetches that are a top-level self-fetch. For more info, see: #210
1 parent 77b2086 commit 9f27207

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,11 +1526,13 @@ an [=empty host=], and a [=url/path=] consisting of one element itself also a [=
15261526

15271527
<div algorithm="obtainBlobObject">
15281528
To <dfn export id=blob-url-obtain-object>obtain a blob object</dfn> given a [=blob URL entry=]
1529-
|blobUrlEntry| and an [=environment settings object=] or the string "`navigation`" |environment|,
1530-
perform the following steps. They return an [=blob URL entry/object=].
1529+
|blobUrlEntry| and an [=environment settings object=], the string "`navigation`", or the string
1530+
"`top-level-self-fetch`" |environment|, perform the following steps. They return an [=blob URL entry/object=].
15311531

15321532
1. Let |isAuthorized| be true.
1533-
1. If |environment| is not the string "`navigation`", then set |isAuthorized| to the result of [=checking for same-partition blob URL usage=] with |blobUrlEntry| and |environment|.
1533+
1. If |environment| is not the string "`navigation`" and not the string "`top-level-self-fetch`",
1534+
then set |isAuthorized| to the result of [=checking for same-partition blob URL usage=] with
1535+
|blobUrlEntry| and |environment|.
15341536
1. If |isAuthorized| is false, then return failure.
15351537
1. Return |blobUrlEntry|'s [=blob URL entry/object=].
15361538

0 commit comments

Comments
 (0)