whatwg / whatwg/html

When is <link>'s "obtain the resource" invoked?

Open
#3,000 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic: link
Dominant language
HTML
Stars
9.4k
Forks
3.2k
PR merge metrics
PR metrics pending

Description

It seems this is somewhat defined for rel=stylesheet, but not generally.

In particular, we do not want to invoke "obtain the resource" for XMLHttpRequest response documents or similar such documents or at least terminate it early in such cases so that the Window object reference doesn't result in some kind of undefined error.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Read the HTML Standard's definition of when link's "obtain the resource" runs, then review the issue's XMLHttpRequest response-document case and comments to determine the intended behavior; done means the specification clearly states whether that step runs or terminates for such documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.