Closed
Bug 696555
Opened 14 years ago
Closed 13 years ago
Move update.locale into omni.jar
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: glandium, Assigned: glandium)
References
Details
(Whiteboard: [inbound])
Attachments
(1 file, 2 obsolete files)
|
6.07 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
If I'm not mistaken, the update.locale file is only read from the nsUpdateService.js, and is gotten from FileUtils.getFile(KEY_APPDIR, [FILE_UPDATE_LOCALE]) and FileUtils.getFile(KEY_GRED, [FILE_UPDATE_LOCALE]) if the former doesn't exist.
On Fennec, this means we need to extract the file so that it lives in the application directory. We could move it into the omni.jar, with the result that Fennec doesn't need to extract it. We should then be able to use resource://app/update.locale and resource://gre/update.locale to get the file instead of the FileUtils.getFile calls above.
| Assignee | ||
Comment 1•14 years ago
|
||
This is untested, but should work.
| Assignee | ||
Comment 2•14 years ago
|
||
Should be better like this
| Assignee | ||
Updated•14 years ago
|
Attachment #568853 -
Attachment is obsolete: true
Comment 3•14 years ago
|
||
I think we want to remove update.locale all together. See bug 695699.
| Assignee | ||
Comment 4•14 years ago
|
||
Let's go for bug 695699
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Comment 5•14 years ago
|
||
In the end, we're going to do it this way.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
| Assignee | ||
Comment 6•14 years ago
|
||
Attachment #570753 -
Flags: review?(robert.bugzilla)
| Assignee | ||
Updated•14 years ago
|
Attachment #568857 -
Attachment is obsolete: true
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → mh+mozilla
| Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 570753 [details] [diff] [review]
Move update.locale into omni.jar
<rs> glandium: if tests pass r=me
(...)
<rs> glandium: I took a quick look and I'm fine with you taking my word from irc
Attachment #570753 -
Flags: review?(robert.bugzilla) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
Whiteboard: [inbound]
Comment 9•13 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
You need to log in
before you can comment on or make changes to this bug.
Description
•