HashAlgorithmIdentifier refers another typedef name AlgorithmIdentifier
Open
Nobody has claimed this yet.
editorial
question
- Dominant language
- HTML
- Stars
- 294
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
In Web IDL spec, it is not allowed to define two (or more) typedefs for a type.
The Type must not be the identifier of the same or another typedef.
But in WebCrypto spec, we have following typedefs.
typedef (object or DOMString) AlgorithmIdentifier;
typedef AlgorithmIdentifier HashAlgorithmIdentifier;
Should we change the definition of HashAlgorithmIdentifier as (object or DOMString)?
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
Start with the Web IDL typedef rule and the WebCrypto definitions quoted in this issue. Determine whether the HashAlgorithmIdentifier definition violates that rule, then update the specification text if needed and verify that the resulting typedefs conform to Web IDL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100