whatwg / whatwg/html

<track>'s track URL concept is used incorrectly

Open
#9,683 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs tests topic: media
Dominant language
HTML
Stars
9.4k
Forks
3.2k
Avg merge
3d 9h
Merged PRs (30d)
38

Description

It seems like it can be the empty string, but callers don't account for that and assume it's always a URL (which is also somewhat wrong, it's a string).

cc @whatwg/media

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

Search the HTML Standard for the track URL concept and identify the callers that assume it is always a URL. Review how the empty-string case and string typing are specified, then confirm the intended behavior and affected call sites before defining completion.

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.