|
117 | 117 | {
|
118 | 118 | "html": "<p><a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#fetch-controller-abort\" id=\"ref-for-fetch-controller-abort\">Abort</a> <var>prefetchRecord</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-fetch-controller\" id=\"ref-for-prefetch-record-fetch-controller①\">fetch controller</a>. </p>"
|
119 | 119 | },
|
| 120 | + { |
| 121 | + "html": "<p>If <var>prefetchRecord</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-prerendering-traversable\" id=\"ref-for-prefetch-record-prerendering-traversable\">prerendering traversable</a> is a <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#traversable-navigable\" id=\"ref-for-traversable-navigable\">traversable navigable</a>, then <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#destroy-a-top-level-traversable\" id=\"ref-for-destroy-a-top-level-traversable\">destroy</a> it.</p>" |
| 122 | + }, |
120 | 123 | {
|
121 | 124 | "html": "<p><a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list-remove\" id=\"ref-for-list-remove\">Remove</a> <var>prefetchRecord</var> from <var>document</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#document-prefetch-records\" id=\"ref-for-document-prefetch-records②\">prefetch records</a>.</p>"
|
122 | 125 | }
|
|
283 | 286 | "html": "<p>If <var>record</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-state\" id=\"ref-for-prefetch-record-state⑧\">state</a> is \"<code>canceled</code>\", then <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#iteration-continue\" id=\"ref-for-iteration-continue②\">continue</a>.</p>"
|
284 | 287 | },
|
285 | 288 | {
|
286 |
| - "html": "<p>If <var>checkPrerender</var> is true and <var>record</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-prerendering-traversable\" id=\"ref-for-prefetch-record-prerendering-traversable\">prerendering traversable</a> is null, then <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#iteration-continue\" id=\"ref-for-iteration-continue③\">continue</a>.</p>" |
| 289 | + "html": "<p>If <var>checkPrerender</var> is true and <var>record</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-prerendering-traversable\" id=\"ref-for-prefetch-record-prerendering-traversable①\">prerendering traversable</a> is null, then <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#iteration-continue\" id=\"ref-for-iteration-continue③\">continue</a>.</p>" |
287 | 290 | },
|
288 | 291 | {
|
289 | 292 | "html": "<p>Let <var>recordNVS</var> be null.</p>"
|
|
685 | 688 | ]
|
686 | 689 | },
|
687 | 690 | {
|
688 |
| - "html": "<p>If <var>prefetchRecord</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-prerendering-traversable\" id=\"ref-for-prefetch-record-prerendering-traversable①\">prerendering traversable</a> is not null, then add a parameter whose key is \"<a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#sec-purpose-prefetch-prerender\" id=\"ref-for-sec-purpose-prefetch-prerender\"><code>prerender</code></a>\" and whose value is true to the <code>prefetch</code> token in <var>purpose</var>.</p>" |
| 691 | + "html": "<p>If <var>prefetchRecord</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-prerendering-traversable\" id=\"ref-for-prefetch-record-prerendering-traversable②\">prerendering traversable</a> is not null, then add a parameter whose key is \"<a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#sec-purpose-prefetch-prerender\" id=\"ref-for-sec-purpose-prefetch-prerender\"><code>prerender</code></a>\" and whose value is true to the <code>prefetch</code> token in <var>purpose</var>.</p>" |
689 | 692 | },
|
690 | 693 | {
|
691 | 694 | "html": "<p><a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#concept-header-list-set-structured-header\" id=\"ref-for-concept-header-list-set-structured-header\">Set a structured field value</a> given (`<code><a data-link-type=\"http-header\" href=\"https://fetch.spec.whatwg.org/#http-sec-purpose\" id=\"ref-for-http-sec-purpose\">Sec-Purpose</a></code>`, <var>purpose</var>) in <var>request</var>’s <a data-link-type=\"dfn\" href=\"https://fetch.spec.whatwg.org/#concept-request-header-list\" id=\"ref-for-concept-request-header-list①\">header list</a>.</p>"
|
|
870 | 873 | },
|
871 | 874 | {
|
872 | 875 | "html": "<a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list-iterate\" id=\"ref-for-list-iterate⑦\">For each</a> <var>prefetchRecord</var> in <var>activeDocument</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#document-prefetch-records\" id=\"ref-for-document-prefetch-records⑦\">prefetch records</a>:",
|
873 |
| - "rationale": "cancel", |
| 876 | + "rationale": "if", |
874 | 877 | "steps": [
|
| 878 | + { |
| 879 | + "html": "<p>If <var>prefetchRecord</var>’s <a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-prerendering-traversable\" id=\"ref-for-prefetch-record-prerendering-traversable③\">prerendering traversable</a> is not null, then <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#iteration-continue\" id=\"ref-for-iteration-continue⑥\">continue</a>.</p>" |
| 880 | + }, |
875 | 881 | {
|
876 | 882 | "html": "<p><a data-link-type=\"dfn\" href=\"https://wicg.github.io/nav-speculation/prefetch.html#prefetch-record-cancel-and-discard\" id=\"ref-for-prefetch-record-cancel-and-discard①\">Cancel and discard</a> <var>prefetchRecord</var> given <var>activeDocument</var>.</p>"
|
877 | 883 | }
|
|
0 commit comments