w3c / w3c/ServiceWorker

Add ServiceWorker.prototype.registration

Open
#798 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

apr-2017-f2f
Dominant language
Bikeshed
Stars
3.6k
Forks
324
Avg merge
14d 22h
Merged PRs (30d)
1

Description

Would be kind of convenient to have a pointer to a ServiceWorker's corresponding ServiceWorkerRegistration instance. Or is it too problematic that you can then get to it synchronously from the controller?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the ServiceWorker and ServiceWorkerRegistration definitions in the specification and review the issue's question about synchronous access from the controller. Establish whether the proposed ServiceWorker.prototype.registration relationship is acceptable, then document the decision and its required specification changes as done.

Written by the indexing model from the issue text.

Assessment

Domain
api, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.