Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the default "process the linked resource" algorithm a noop #6156

Merged
merged 2 commits into from
Nov 18, 2020

Conversation

andreubotella
Copy link
Member

@andreubotella andreubotella commented Nov 17, 2020

This removes the requirement for <link rel="icon"> to fire load and error events, which no implementation followed.

Closes #6122.

(See WHATWG Working Mode: Changes for more details.)


/semantics.html ( diff )

This removes the requirement for <link rel="icon"> to fire load and
error events, which no implementation followed.

Closes whatwg#6122.
<li><p>Otherwise, <span data-x="concept-event-fire">fire an event</span> named <code
data-x="event-error">error</code> at <var>el</var>.</p></li>
</ol>
algorithm, the <dfn>default process the linked resource</dfn> algorithm does nothing.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the <dfn> is necessary anymore. Instead, let's copy the verbiage from above, where it says

Similarly, individual link types may provide their own linked resource fetch setup steps, but unless explicitly stated, these steps just return true.

@domenic domenic merged commit d324d9b into whatwg:master Nov 18, 2020
@andreubotella andreubotella deleted the link-rel-icon-no-events branch November 18, 2020 17:37
@domenic
Copy link
Member

domenic commented Nov 18, 2020

Forgot to say, thanks very much for tracking this down!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Web reality: Load/error events for <link> not firing on rel="icon"
2 participants