@@ -2395,6 +2395,7 @@ known as an <dfn export id=concept-aborted-network-error>aborted network error</
2395
2395
<a for=response>header list</a> is always empty, and
2396
2396
<a for=response>body</a> is always null.
2397
2397
2398
+ <div algorithm>
2398
2399
<p> To create the <dfn>appropriate network error</dfn> given <a for=/>fetch params</a>
2399
2400
<var> fetchParams</var> :
2400
2401
@@ -2404,6 +2405,7 @@ known as an <dfn export id=concept-aborted-network-error>aborted network error</
2404
2405
<li><p> Return an <a>aborted network error</a> if <var> fetchParams</var> is
2405
2406
<a for="fetch params">aborted</a> ; otherwise return a <a>network error</a> .
2406
2407
</ol>
2408
+ </div>
2407
2409
2408
2410
<hr>
2409
2411
@@ -2509,6 +2511,7 @@ console.log((await fetch("/surprise-me", { redirect: "manual" })).type); // "opa
2509
2511
2510
2512
<hr>
2511
2513
2514
+ <div algorithm>
2512
2515
<p> To <dfn export for=response id=concept-response-clone>clone</dfn> a
2513
2516
<a for=/>response</a> <var> response</var> , run these steps:
2514
2517
@@ -2527,6 +2530,7 @@ console.log((await fetch("/surprise-me", { redirect: "manual" })).type); // "opa
2527
2530
2528
2531
<li><p> Return <var> newResponse</var> .
2529
2532
</ol>
2533
+ </div>
2530
2534
2531
2535
<hr>
2532
2536
@@ -2544,6 +2548,7 @@ not a <a>fresh response</a> or a <a>stale-while-revalidate response</a>.
2544
2548
2545
2549
<hr>
2546
2550
2551
+ <div algorithm>
2547
2552
<p> The <dfn export for=response id=concept-response-location-url>location URL</dfn> of a
2548
2553
<a for=/>response</a> <var> response</var> , given null or an <a for=/>ASCII string</a>
2549
2554
<var> requestFragment</var> , is the value returned by the following steps. They return null, failure,
@@ -2579,13 +2584,15 @@ or a <a for=/>URL</a>.
2579
2584
<p class=note> The <a for=response>location URL</a> algorithm is exclusively used for redirect
2580
2585
handling in this standard and in <cite> HTML</cite> 's navigate algorithm which handles redirects
2581
2586
manually. [[!HTML]]
2587
+ </div>
2582
2588
2583
2589
2584
2590
<h4 id=miscellaneous>Miscellaneous</h4>
2585
2591
2586
2592
<p> A <dfn export id=concept-potential-destination>potential destination</dfn> is
2587
2593
"<code> fetch</code> " or a <a for=request>destination</a> which is not the empty string.
2588
2594
2595
+ <div algorithm>
2589
2596
<p> To <dfn export for=destination id=concept-potential-destination-translate>translate</dfn> a
2590
2597
<a for=/>potential destination</a> <var> potentialDestination</var> , run these steps:
2591
2598
@@ -2596,6 +2603,7 @@ manually. [[!HTML]]
2596
2603
2597
2604
<li><p> Return <var> potentialDestination</var> .
2598
2605
</ol>
2606
+ </div>
2599
2607
2600
2608
2601
2609
<h3 id=authentication-entries>Authentication entries</h3>
0 commit comments