@@ -4972,15 +4972,28 @@ steps:
4972
4972
<a for=url>blob URL entry</a> .
4973
4973
4974
4974
<li>
4975
- <p> If <var> request</var> 's <a for=request>method</a> is not `<code> GET</code> `,
4976
- <var> blobURLEntry</var> is null, or <var> blobURLEntry</var> 's
4977
- <a for="blob URL entry">object</a> is not a {{Blob}} object, then return a
4978
- <a>network error</a> . [[!FILEAPI]]
4975
+ <p> If <var> request</var> 's <a for=request>method</a> is not `<code> GET</code> ` or
4976
+ <var> blobURLEntry</var> is null, then return a <a>network error</a> . [[!FILEAPI]]
4979
4977
4980
4978
<p class=note> The `<code> GET</code> ` <a for=/>method</a> restriction serves no useful purpose
4981
4979
other than being interoperable.
4982
4980
4983
- <li><p> Let <var> blob</var> be <var> blobURLEntry</var> 's <a for="blob URL entry">object</a> .
4981
+ <li><p> Let <var> requestEnvironment</var> be the result of
4982
+ <a for=request>determining the environment</a> given <var> request</var> .
4983
+
4984
+ <li><p> Let <var> isTopLevelNavigation</var> be true if <var> request</var> 's
4985
+ <a for=request>destination</a> is "<code> document</code> "; otherwise, false.
4986
+
4987
+ <li><p> If <var> isTopLevelNavigation</var> is false and <var> requestEnvironment</var> is null,
4988
+ then return a <a>network error</a> .
4989
+
4990
+ <li><p> Let <var> navigationOrEnvironment</var> be the string "<code> navigation</code> " if
4991
+ <var> isTopLevelNavigation</var> is true; otherwise, <var> requestEnvironment</var> .
4992
+
4993
+ <li><p> Let <var> blob</var> be the result of <a>obtaining a blob object</a> given
4994
+ <var> blobURLEntry</var> and <var> navigationOrEnvironment</var> .
4995
+
4996
+ <li><p> If <var> blob</var> is not a {{Blob}} object, then return a <a>network error</a> .
4984
4997
4985
4998
<li><p> Let <var> response</var> be a new <a for=/>response</a> .
4986
4999
@@ -5113,6 +5126,21 @@ steps:
5113
5126
</ol>
5114
5127
</div>
5115
5128
5129
+ <div algorithm>
5130
+ <p> To <dfn for=request>determine the environment</dfn> , given a <a for=/>request</a>
5131
+ <var> request</var> :
5132
+
5133
+ <ol>
5134
+ <li><p> If <var> request</var> 's <a for=request>reserved client</a> is non-null, then return
5135
+ <var> request</var> 's <a for=request>reserved client</a> .
5136
+
5137
+ <li><p> If <var> request</var> 's <a for=request>client</a> is non-null, then return
5138
+ <var> request</var> 's <a for=request>client</a> .
5139
+
5140
+ <li><p> Return null.
5141
+ </ol>
5142
+ </div>
5143
+
5116
5144
5117
5145
<h3 id=http-fetch>HTTP fetch</h3>
5118
5146
@@ -9044,6 +9072,7 @@ Alexey Proskuryakov,
9044
9072
Andreas Kling,
9045
9073
Andrés Gutiérrez,
9046
9074
Andrew Sutherland,
9075
+ Andrew Williams,<!-- recvfrom; GitHub -->
9047
9076
Ángel González,
9048
9077
Anssi Kostiainen,
9049
9078
Arkadiusz Michalski,
0 commit comments