From c8f6bba6d88bc7e32dbba7e35f8ddd68f8514849 Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Wed, 18 Nov 2020 00:04:12 +0100 Subject: [PATCH 1/2] Make the default "process the linked resource" algorithm a noop This removes the requirement for to fire load and error events, which no implementation followed. Closes #6122. --- source | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/source b/source index 77898a94457..0787ecbcaf0 100644 --- a/source +++ b/source @@ -13753,16 +13753,7 @@ interface HTMLLinkElement : HTMLElement { resource algorithm which takes a link element el, boolean success, and response response. Unless an individual link type provides its own process the linked resource - algorithm, the default process the linked resource algorithm, given a link - element el, and boolean success (ignoring response) is used:

- -
    -
  1. If success is true, fire an event - named load at el.

  2. - -
  3. Otherwise, fire an event named error at el.

  4. -
+ algorithm, the default process the linked resource algorithm does nothing.

Unless otherwise specified for a given rel keyword, the element must delay the load event of the element's node document until From 272f0dc57d115654598026e5dcf7f8b7c103f9dc Mon Sep 17 00:00:00 2001 From: Andreu Botella Date: Wed, 18 Nov 2020 17:53:54 +0100 Subject: [PATCH 2/2] Remove the "default process the linked resource" dfn. --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index 0787ecbcaf0..79b0f98657a 100644 --- a/source +++ b/source @@ -13752,8 +13752,8 @@ interface HTMLLinkElement : HTMLElement { data-x="external resource link">external resource links have a process the linked resource algorithm which takes a link element el, boolean success, and response response. - Unless an individual link type provides its own process the linked resource - algorithm, the default process the linked resource algorithm does nothing.

+ Individual link types may provide their own process the linked resource algorithm, + but unless explicitly stated, that algorithm does nothing.

Unless otherwise specified for a given rel keyword, the element must delay the load event of the element's node document until