Skip to content

Commit

Permalink
Simplify based on review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
recvfrom committed Dec 6, 2024
1 parent c201d79 commit 0b5fccb
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4985,15 +4985,11 @@ steps:
<li><p>If <var>isTopLevelNavigation</var> is false and <var>requestEnvironment</var> is null,
then return a <a>network error</a>.

<li><p>Let <var>blob</var> be null.
<li><p>Let <var>navigationOrEnvironment</var> be the string "<code>navigation</code>" if
<var>isTopLevelNavigation</var> is true; otherwise, <var>requestEnvironment</var>.

<li><p>If <var>isTopLevelNavigation</var> is true, then set <var>blob</var> to the result of
<a href="https://w3c.github.io/FileAPI/#blob-url-obtain-object">obtaining a blob object</a>
given <var>blobURLEntry</var> and the string "<code>navigation</code>".

<li><p>Otherwise, set <var>blob</var> to the result of <a
href="https://w3c.github.io/FileAPI/#blob-url-obtain-object">obtaining a blob object</a> given
<var>blobURLEntry</var> and <var>requestEnvironment</var>.
<li><p>Let <var>blob</var> be the result of <a>obtaining a blob object</a> given
<var>blobURLEntry</var> and <var>navigationOrEnvironment</var>.

<li><p>If <var>blob</var> is not a {{Blob}} object, then return a <a>network error</a>.

Expand Down

0 comments on commit 0b5fccb

Please sign in to comment.