Closed Bug 766375 Opened 9 years ago Closed 9 years ago

Move idb databases to /data/local

Categories

(Firefox OS Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gwagner, Assigned: gwagner)

References

Details

Attachments

(1 file)

No description provided.
Attached patch patchSplinter Review
Assignee: nobody → anygregor
Attachment #634643 - Flags: review?(fabrice)
Comment on attachment 634643 [details] [diff] [review]
patch

Review of attachment 634643 [details] [diff] [review]:
-----------------------------------------------------------------

This means that indexedDB data already in the current *.default/ profile will be lost. We could fix that in gaia's makefile by moving *default/indexedDB to /data/local/indexedDB if /data/local/indexedDB doesn't exist.
Attachment #634643 - Flags: review?(fabrice) → review+
(In reply to Fabrice Desré [:fabrice] from comment #2)
> Comment on attachment 634643 [details] [diff] [review]
> patch
> 
> Review of attachment 634643 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> This means that indexedDB data already in the current *.default/ profile
> will be lost. We could fix that in gaia's makefile by moving
> *default/indexedDB to /data/local/indexedDB if /data/local/indexedDB doesn't
> exist.

I don't think it's that easy because that will be a gecko change we have to sync this with the first flash with this patch. After a gecko flash with this patch, all databases are created automatically. We would have to test and copy during flashing gecko right?
https://hg.mozilla.org/mozilla-central/rev/685105c235d7
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.