Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ for a given asynchronous <a>read method</a> in this specification:

Web Workers allow for the use of synchronous {{File}} or {{Blob}} read APIs,
since such reads on threads do not block the main thread.
This section defines a synchronous API, which can be used within Workers [[Web Workers]].
This section defines a synchronous API, which can be used within Workers [[Workers]].
Workers can avail of both the asynchronous API (the {{FileReader}} object)
*and* the synchronous API (the {{FileReaderSync}} object).

Expand Down Expand Up @@ -1526,11 +1526,13 @@ an [=empty host=], and a [=url/path=] consisting of one element itself also a [=

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

1. Let |isAuthorized| be true.
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|.
1. If |environment| is not the string "`navigation`" and not the string "`top-level-self-fetch`",
then set |isAuthorized| to the result of [=checking for same-partition blob URL usage=] with
|blobUrlEntry| and |environment|.
1. If |isAuthorized| is false, then return failure.
1. Return |blobUrlEntry|'s [=blob URL entry/object=].

Expand Down