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)

defect
Not set
normal

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
Target Milestone: --- → NGA S4 (10Jul)
Target Milestone: NGA S4 (10Jul) → FxOS-S2 (10Jul)
QA Contact: salva
Assignee: nobody → salva
QA Contact: salva
master: aa3734e4f768d2e8553a2262a79d14a7f6a7ff23
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: