diff --git a/index.bs b/index.bs index 0859469..83e32a8 100644 --- a/index.bs +++ b/index.bs @@ -1320,7 +1320,7 @@ for a given asynchronous read method 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). @@ -1526,11 +1526,13 @@ an [=empty host=], and a [=url/path=] consisting of one element itself also a [=
To obtain a blob object 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=], "`top-level-navigation`", or +"`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 an [=environment settings object=], 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=].