PushSubscription and underlying concept should be better separated

Aperta
#373 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
api

Direzione di ricerca

Start by reading the PushSubscription specification steps discussed in the issue, especially where the private key is stored and where the JavaScript object is created. Determine how to separate the underlying concept from the exposed object and move object creation into the eventual queued task; done means the specification defines both behaviors safely and consistently.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

At the moment it seems as if you'd store the private key on an internal slot of the JS object, which isn't safe.

The JS object is also created "in parallel" which doesn't actually work. It needs to be created as part of the steps of the eventual queued task.

Lingua principale
HTML
Stelle
158
Fork
43
Merge medio
2g 6h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di w3c/push-api

Tutte le issue di w3c/push-api

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.