Reconsider "in parallel"?
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 294
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
From WebKit's source code:
The 11 December 2014 version of the specification suggests we should perform the following task asynchronously:
https://www.w3.org/TR/WebCryptoAPI/#SubtleCrypto-method-importKey
It is not beneficial for less time consuming operations. Therefore, we perform it synchronously.
This came up in #368 first.
It's probably worth writing some tests to see when the promises are getting resolved relative to the running task.
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
Read the WebCrypto API importKey specification linked in the issue and the discussion in #368, focusing on the meaning of performing the task asynchronously. Add tests that observe when the returned promises resolve relative to the running task, and use those results to determine whether the current behavior matches the specification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- api, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100