@@ -5363,14 +5363,42 @@ returning a response directly, or allowing the request to proceed by returning n
53635363 <li><p> Let <var> isTopLevelNavigation</var> be true if <var> request</var> 's
53645364 <a for=request>destination</a> is "<code> document</code> "; otherwise, false.
53655365
5366- <li><p> If <var> isTopLevelNavigation</var> is false and <var> requestEnvironment</var> is null,
5367- then return a <a>network error</a> .
5366+ <li><p> Let <var> isTopLevelSelfFetch</var> be false.
5367+
5368+ <li><p> If <var> request</var> 's <a for=request>client</a> is non-null:
5369+ <ol>
5370+ <li><p> Let <var> global</var> be <var> request</var> 's <a for=request>client</a>' s
5371+ <a for="environment settings object">global object</a> .
5372+
5373+ <li>
5374+ <p> If all of the following conditions are true:
5375+
5376+ <ul class=brief>
5377+ <li><p><var> global</var> is a {{Window}} object;
5378+
5379+ <li><p><var> global</var> 's <a for=Window>navigable</a> is not null;
53685380
5369- <li><p> Let <var> navigationOrEnvironment</var> be the string "<code> navigation</code> " if
5370- <var> isTopLevelNavigation</var> is true; otherwise, <var> requestEnvironment</var> .
5381+ <li><p><var> global</var> 's <a for=Window>navigable</a>' s <a for=navigable>parent</a>
5382+ is null; and
5383+
5384+ <li><p><var> requestEnvironment</var> 's <a for="environment">creation URL</a>
5385+ <a for=url>equals</a> <var> request</var> 's <a for=request>current URL</a> ,
5386+
5387+ </ul>
5388+
5389+ <p> then set <var> isTopLevelSelfFetch</var> to false.
5390+
5391+ <li><p> Let <var> stringOrEnvironment</var> be <var> requestEnvironment</var> .
5392+
5393+ <li><p> If <var> isTopLevelNavigation</var> is true, then set <var> stringOrEnvironment</var>
5394+ to the string "<code> navigation</code> ".
5395+
5396+ <li><p> Otherwise, if <var> isTopLevelSelfFetch</var> is true, then set
5397+ <var> stringOrEnvironment</var> to the string "<code> top-level-self-fetch</code> ".
5398+ </ol>
53715399
53725400 <li><p> Let <var> blob</var> be the result of <a>obtaining a blob object</a> given
5373- <var> blobURLEntry</var> and <var> navigationOrEnvironment </var> .
5401+ <var> blobURLEntry</var> and <var> stringOrEnvironment </var> .
53745402
53755403 <li><p> If <var> blob</var> is not a {{Blob}} object, then return a <a>network error</a> .
53765404
0 commit comments