windowClients state change events - loaded/unloaded
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 3.6k
- Forks
- 324
- Avg merge
- 14d 22h
- Merged PRs (30d)
- 1
Description
From the service worker, I'd like to be notified when a new controlled windowClient is added. Similarly for windowClient removal.
At the moment, in order to know whether windowClients being controlled has changed, you need either to poll the API or work around it via postMessage from the windowClient itself.
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
No files or tests are identified in the issue. Start by reviewing the service worker windowClients API and the existing controlled-window behavior; the work is complete when the service worker can receive notifications for windowClient additions and removals without polling or relying on postMessage.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100