Get rid of Kinto offline client
Categories
(Firefox :: Remote Settings Client, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: leplatrem, Assigned: leplatrem)
References
(Blocks 1 open bug)
Details
Attachments
(12 files)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
Currently, the kinto.js library is used for the following aspects:
- Some abstraction over IndexedDB
- A single call to a .sync() method with some hooks for signature validation
- Some small helpers to manipulate local data
But its relevance is limited:
- We only pull from a read-only server
- The pulling of records is duplicated in the retry sync part
- The logic in the signature verification hook is duplicated for the retry sync part
- Some the IndexedDB code is duplicated in the Web worker part
Basically, getting rid of kinto.js would globally mean moving the IDB abstraction part into a small module.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D66409
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D66411
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D66412
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D66629
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D66630
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Depends on D66632
Assignee | ||
Comment 9•5 years ago
|
||
Depends on D66749
Assignee | ||
Comment 10•5 years ago
|
||
Depends on D66750
Assignee | ||
Comment 11•5 years ago
|
||
Depends on D66751
Assignee | ||
Comment 12•5 years ago
|
||
When the signature verification fails after retry we don't want to apply the changes, and if possible we want to leave the local data as it was before sync.
Depends on D66752
Assignee | ||
Comment 13•5 years ago
|
||
Depends on D67139
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/eb8b759f04d9
https://hg.mozilla.org/mozilla-central/rev/7fd588e36c00
https://hg.mozilla.org/mozilla-central/rev/39ec37b67db8
https://hg.mozilla.org/mozilla-central/rev/c87605a73bfd
https://hg.mozilla.org/mozilla-central/rev/94e4e16672a7
https://hg.mozilla.org/mozilla-central/rev/11cd85d6ece7
https://hg.mozilla.org/mozilla-central/rev/c37c85b90377
https://hg.mozilla.org/mozilla-central/rev/08d4f7f88ddb
https://hg.mozilla.org/mozilla-central/rev/ee83a9baacc0
https://hg.mozilla.org/mozilla-central/rev/be13c324f376
https://hg.mozilla.org/mozilla-central/rev/5218a697618d
https://hg.mozilla.org/mozilla-central/rev/9c1e03c2f350
Description
•