Throw TypeError for detached input BufferSource
Open
Nobody has claimed this yet.
need-definition
- Dominant language
- HTML
- Stars
- 1.3k
- Forks
- 194
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
The spec has a number of BufferSource members in dictionaries like VideoDecoderConfig, EncodedAudioChunkInit, ... . Presently the spec steps just operate with those members without checking whether they are detached. We check to see if they're detached and, if so, throw a TypeError.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the specification steps for BufferSource members in dictionaries such as VideoDecoderConfig and EncodedAudioChunkInit. Identify each place where those members are operated on without a detached check. Done means the relevant steps check for detached sources and throw a TypeError when appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100