From 6c10c490e39b7bf334ac0171b3a45b8ccf9a7bb9 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Mon, 6 Oct 2025 20:12:48 +0200 Subject: [PATCH] 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. --- source | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source b/source index 5361f494458..cbcbcff2234 100644 --- a/source +++ b/source @@ -16681,9 +16681,6 @@ interface HTMLLinkElement : HTMLElement {
  • Assert: options's href is not the empty string.

  • -
  • If options's destination is - null, then return null.

  • -
  • Let url be the result of encoding-parsing a URL given options's href, relative to @@ -28722,9 +28719,6 @@ document.body.appendChild(wbr);

  • Let options be the result of creating link options from el.

  • -
  • Set options's destination to - the empty string.

  • -
  • Let request be the result of creating a link request given options.