Open
Bug 766057
Opened 12 years ago
Updated 2 years ago
Use IndexedDB to store data between re-starts instead of preferences or permission manager
Categories
(Core :: General, defect)
Core
General
Tracking
()
NEW
People
(Reporter: mounir, Unassigned)
References
Details
It seems like when we want to store data to be re-used later and make sure it is persistent between different starts, we are using preferences. Preferences is clearly odd for that usage because we do not want to store a preference and the user isn't expected to change the value manually.
IMO, we should probably use IndexedDB for those use cases. This is a persistent storage that isn't expected to be seen and modified by the user.
To make this happen we should:
1. have an rough idea of which preferences are actually data being stored;
2. create a helper allowing easy reading and writing of those values from JS and C++ ideally;
3. change the callers;
Reporter | ||
Updated•12 years ago
|
Severity: blocker → normal
OS: Linux → All
Reporter | ||
Updated•12 years ago
|
Summary: Use IndexedDB to store data between re-starts instead of preferences → Use IndexedDB to store data between re-starts instead of preferences or permission manager
Reporter | ||
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Hi Mounir,
I am interested in working on this bug. Could you please guide me on getting started with this bug. I am having the mozilla-central folder containing the source code of firefox. Will I be needing some other source code for Core ? I am working on bugs for firefox but have never worked
on bugs for core. Please help me on getting started with this bug.
Thanks.
Comment 2•12 years ago
|
||
Abhishek you just need the Firefox source code.
Comment 3•12 years ago
|
||
This change makes sense semantically. Performance-wise, this is harder to predict, as both Preferences and IndexedDB have non-trivial costs. It would be interesting to be able to measure the cost/benefit of this change.
Reporter | ||
Updated•11 years ago
|
Keywords: student-project
Whiteboard: [mentor=mounir]
No longer blocks: 775370
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•