Skip to content

Commit dd759db

Browse files
authored
Remove incorrect usages of link options destination
The destination field in link options is initialized to the empty string and can no longer be nullable. Therefore the null check is no longer valid, since the destination is always set to a non-null value. Secondly, we already initialize to the empty string and therefore don't need to reassign the value to the empty string during prefetch loading. This is a follow-up to ad28192. Closes #11726 (again).
1 parent 69ccb5d commit dd759db

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

source

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16681,9 +16681,6 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
1668116681
<li><p><span>Assert</span>: <var>options</var>'s <span data-x="link options href">href</span> is
1668216682
not the empty string.</p></li>
1668316683

16684-
<li><p>If <var>options</var>'s <span data-x="link options destination">destination</span> is
16685-
null, then return null.</p></li>
16686-
1668716684
<li>
1668816685
<p>Let <var>url</var> be the result of <span>encoding-parsing a URL</span> given
1668916686
<var>options</var>'s <span data-x="link options href">href</span>, relative to
@@ -28722,9 +28719,6 @@ document.body.appendChild(wbr);</code></pre>
2872228719
<li><p>Let <var>options</var> be the result of <span data-x="create link options from
2872328720
element">creating link options</span> from <var>el</var>.</p></li>
2872428721

28725-
<li><p>Set <var>options</var>'s <span data-x="link options destination">destination</span> to
28726-
the empty string.</p></li>
28727-
2872828722
<li><p>Let <var>request</var> be the result of <span data-x="create a link request">creating a
2872928723
link request</span> given <var>options</var>.</p></li>
2873028724

0 commit comments

Comments
 (0)