w3c / w3c/FileAPI

Set FileReader.error to an AbortError when abort() is called.

Open
#66 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
HTML
Stars
118
Forks
52
Avg merge
9d 16h
Merged PRs (30d)
1

Description

All implementations seem to already do this, yet the spec currently seems to say that error should remain null if abort() is called. Probably easiest to just change the spec to set error to an AbortError.

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

Start by locating the File API specification text governing FileReader.abort() and its error state. Update the stated behavior so abort() sets error to AbortError, then check the surrounding abort algorithm for consistency.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.