From 46483386bc6a16db20673af25134c2d4673e748c Mon Sep 17 00:00:00 2001 From: Kurt Catti-Schmidt Date: Tue, 2 Dec 2025 11:06:48 -0800 Subject: [PATCH 1/4] Initial commit --- source | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/source b/source index 877761a9424..3c74bd847d9 100644 --- a/source +++ b/source @@ -16400,8 +16400,9 @@ interface HTMLLinkElement : HTMLElement { contains the preload keyword. It may be specified on link elements that have a rel attribute that contains the modulepreload keyword; in such cases it must - have a value which is a script-like - destination. For other link elements, it must not be specified.

+ have a value which is either "json", "style", or a + script-like destination. For other + link elements, it must not be specified.

The processing model for how the as attribute is used is given in an individual link type's fetch and process the linked resource @@ -28336,11 +28337,11 @@ document.body.appendChild(wbr); data-x="concept-request-destination">destination), or "script" if it is in no state.

-
  • If destination is not script-like, then queue an element - task on the networking task source given el to fire an event named error - at el, and return.

  • +
  • If destination is not "json", "style" or a script-like, then + queue an element task on the networking task source given + el to fire an event named + error at el, and return.

  • Let url be the result of encoding-parsing a URL given el's href attribute's value, relative to @@ -152544,7 +152545,7 @@ interface External { as link Potential destination for a preload request (for rel="preload" and rel="modulepreload") - Potential destination, for rel="preload"; script-like destination, for rel="modulepreload" + Potential destination, for rel="preload"; "json", "style", or a script-like destination for rel="modulepreload" async script @@ -156406,6 +156407,7 @@ INSERT INTERFACES HERE Kristof Zelechovski, Krzysztof Maczyński, 黒澤剛志 (Kurosawa Takeshi), + Kurt Catti-Schmidt, Kyle Barnhart, Kyle Hofmann, Kyle Huey, From 9ba538ece06f52239f60cce7aeb5dabed9422300 Mon Sep 17 00:00:00 2001 From: Kurt Catti-Schmidt Date: Tue, 2 Dec 2025 11:26:05 -0800 Subject: [PATCH 2/4] Wrapping json and style in blocks --- source | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source b/source index 3c74bd847d9..47b295a122b 100644 --- a/source +++ b/source @@ -16400,7 +16400,7 @@ interface HTMLLinkElement : HTMLElement { contains the preload keyword. It may be specified on link elements that have a rel attribute that contains the modulepreload keyword; in such cases it must - have a value which is either "json", "style", or a + have a value which is either "json", "style", or a script-like destination. For other link elements, it must not be specified.

    @@ -28337,7 +28337,8 @@ document.body.appendChild(wbr); data-x="concept-request-destination">destination), or "script" if it is in no state.

  • -
  • If destination is not "json", "style" or a

    If destination is not "json", + "style" or a script-like, then queue an element task on the networking task source given el to fire an event named @@ -152545,7 +152546,7 @@ interface External { as link Potential destination for a preload request (for rel="preload" and rel="modulepreload") - Potential destination, for rel="preload"; "json", "style", or a script-like destination for rel="modulepreload" + Potential destination, for rel="preload"; "json", "style", or a script-like destination for rel="modulepreload" async script From 901f5ea5e322f1069009498bf2ec616b38898fdc Mon Sep 17 00:00:00 2001 From: Kurt Catti-Schmidt Date: Fri, 5 Dec 2025 14:13:16 -0800 Subject: [PATCH 3/4] Adding comma, fixing line breaking, and adding missing 'destination' --- source | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source b/source index 47b295a122b..0fab6ddbeca 100644 --- a/source +++ b/source @@ -28337,12 +28337,12 @@ document.body.appendChild(wbr); data-x="concept-request-destination">destination), or "script" if it is in no state.

  • -
  • If destination is not "json", - "style" or a script-like, then - queue an element task on the networking task source given - el to fire an event named - error at el, and return.

  • +
  • If destination is not "json","style", or a script-like destination, then + queue an element task on the networking task source given el + to fire an event named error at el, and return.

  • Let url be the result of encoding-parsing a URL given el's href attribute's value, relative to From d0b0497feaef837c8e0260f72b9cdbaffe7f80b4 Mon Sep 17 00:00:00 2001 From: Kurt Catti-Schmidt Date: Fri, 5 Dec 2025 14:16:33 -0800 Subject: [PATCH 4/4] Fixing trailing whitespace --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index 0fab6ddbeca..1be2657f6cb 100644 --- a/source +++ b/source @@ -28337,7 +28337,7 @@ document.body.appendChild(wbr); data-x="concept-request-destination">destination), or "script" if it is in no state.

  • -
  • If destination is not "json","

    If destination is not "json","style", or a script-like destination, then queue an element task on the networking task source given el