Closed Bug 742626 Opened 12 years ago Closed 12 years ago

Allow indexedDB parent directory to not be the default profile directory

Categories

(Core :: Storage: IndexedDB, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: fabrice, Unassigned)

References

Details

Attachments

(1 file, 2 obsolete files)

In b2g we will preload some indexedDB databases (eg. the settings db), like we preload the offline cache and the mozApps data. This happens at build time, before the first run of gecko, so we don't have yet a profile directory.
Attachment #612453 - Flags: review?(khuey)
Attachment #612453 - Flags: review?(khuey) → review?(bent.mozilla)
Comment on attachment 612453 [details] [diff] [review]
Use the "indexedDBPDir" directory

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

Hm... If this is just a build thing can we just use an environment variable rather than adding a new directory key?
It's not only at build time. We expect data to be there at runtime, and we don't have the profile directory ready before first run.
Comment on attachment 612453 [details] [diff] [review]
Use the "indexedDBPDir" directory

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

Ok!
Attachment #612453 - Flags: review?(bent.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/28cfc474ab58
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Backed out: https://hg.mozilla.org/mozilla-central/rev/b87dcc5e00db
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch patch (obsolete) — Splinter Review
Rebased.
Attachment #612453 - Attachment is obsolete: true
Blocks: 766375
Attached patch patchSplinter Review
Attachment #634616 - Attachment is obsolete: true
Attachment #634693 - Flags: review?(bent.mozilla)
Attachment #634693 - Flags: review?(bent.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/6f0cb242f0e6
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Target Milestone: mozilla15 → mozilla16
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: