Closed
Bug 1175497
Opened 9 years ago
Closed 9 years ago
[toolkit][ServiceWorkers] toolkit should be able to claim a document after registration automatically
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(b2g-master fixed)
RESOLVED
FIXED
FxOS-S2 (10Jul)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: arcturus, Assigned: salva)
References
Details
Attachments
(1 file)
The library could allow some configuration to do a |claim| during the activation phase.
This could be specified as a configuration option, being enabled by default to avoid having to reload the document, or adding a simple middleware that just performs the claim.
see: https://github.com/arcturus/serviceworker-claim/blob/master/sw.js#L6-L9
Reporter | ||
Updated•9 years ago
|
Blocks: nga-toolkit-service-workers
Target Milestone: --- → NGA S4 (10Jul)
Reporter | ||
Comment 1•9 years ago
|
||
Sorry, I meant:
https://github.com/arcturus/serviceworker-claim/blob/master/sw.js#L12-L16
;)
Updated•9 years ago
|
Target Milestone: NGA S4 (10Jul) → FxOS-S2 (10Jul)
Assignee | ||
Updated•9 years ago
|
QA Contact: salva
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → salva
QA Contact: salva
Assignee | ||
Comment 2•9 years ago
|
||
master: aa3734e4f768d2e8553a2262a79d14a7f6a7ff23
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
status-b2g-master:
--- → fixed
Assignee | ||
Comment 3•9 years ago
|
||
Granting the r+ to myslef from comments on GitHub
https://github.com/gaia-components/serviceworkerware/pull/28#issuecomment-120085009
Attachment #8632074 -
Flags: review+
You need to log in
before you can comment on or make changes to this bug.
Description
•