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)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: fabrice, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
1.69 KB,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Updated•12 years ago
|
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?
Reporter | ||
Comment 2•12 years ago
|
||
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+
Reporter | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/28cfc474ab58
Comment 5•12 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/b87dcc5e00db - so far only Mac has finished debug xpcshell runs, but there you're failing 54 tests: https://tbpl.mozilla.org/php/getParsedLog.php?id=11330849&tree=Mozilla-Inbound https://tbpl.mozilla.org/php/getParsedLog.php?id=11330668&tree=Mozilla-Inbound
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/28cfc474ab58
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Comment 7•12 years ago
|
||
Backed out: https://hg.mozilla.org/mozilla-central/rev/b87dcc5e00db
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•12 years ago
|
||
I pushed to try again: https://tbpl.mozilla.org/?tree=Try&rev=46c8c835c22d
Comment 10•12 years ago
|
||
Attachment #634616 -
Attachment is obsolete: true
Attachment #634693 -
Flags: review?(bent.mozilla)
Updated•12 years ago
|
Attachment #634693 -
Flags: review?(bent.mozilla) → review+
Comment 11•12 years ago
|
||
Ah I forgot the -u mercurial flag. https://hg.mozilla.org/integration/mozilla-inbound/rev/6f0cb242f0e6
Comment 12•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6f0cb242f0e6
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Target Milestone: mozilla15 → mozilla16
You need to log in
before you can comment on or make changes to this bug.
Description
•