Support returning ServiceWorker Client environments from `Clients.matchAll()`
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 3.6k
- Forks
- 324
- Avg merge
- 14d 22h
- Merged PRs (30d)
- 1
Description
Now that we support matching uncontrolled Client environments it seems we should reasonably be able to get a Client object for a ServiceWorker. I believe the spec mostly already supports this as it doesn't explicitly exclude ServiceWorker environments. We just need to add a "serviceworker" enum value to ClientType.
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 by locating the ClientType enum and the Clients.matchAll behavior in the ServiceWorker specification. Confirm how uncontrolled Client environments are handled, then add the proposed "serviceworker" enum value and verify that the specification consistently permits ServiceWorker environments.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100