You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1320,7 +1320,7 @@ for a given asynchronous <a>read method</a> in this specification:
1320
1320
1321
1321
Web Workers allow for the use of synchronous {{File}} or {{Blob}} read APIs,
1322
1322
since such reads on threads do not block the main thread.
1323
-
This section defines a synchronous API, which can be used within Workers [[Web Workers]].
1323
+
This section defines a synchronous API, which can be used within Workers [[Workers]].
1324
1324
Workers can avail of both the asynchronous API (the {{FileReader}} object)
1325
1325
*and* the synchronous API (the {{FileReaderSync}} object).
1326
1326
@@ -1526,11 +1526,13 @@ an [=empty host=], and a [=url/path=] consisting of one element itself also a [=
1526
1526
1527
1527
<div algorithm="obtainBlobObject">
1528
1528
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=].
1531
1531
1532
1532
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|.
1534
1536
1. If |isAuthorized| is false, then return failure.
0 commit comments