Closed
Bug 326238
Opened 19 years ago
Closed 19 years ago
xulrunner fails if <installdir>/extensions is not available and cannot be written
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: wolfiR, Assigned: robert.strong.bugs)
References
Details
(Keywords: fixed1.8.0.2, fixed1.8.1, regression, Whiteboard: [rft-dl])
Attachments
(2 files)
1.17 KB,
patch
|
mconnor
:
review+
robert.strong.bugs
:
approval-branch-1.8.1+
dveditz
:
approval1.8.0.2+
|
Details | Diff | Splinter Review |
1.21 KB,
patch
|
Details | Diff | Splinter Review |
If the installation-directory is not writable by xulrunner it fails and exits w/o giving an obvious error message. 1. I think the build should create the extensions directory already 2. xulrunner shouldn't fail silently trying to create that directory
Comment 1•19 years ago
|
||
-> EM
Component: XULRunner → Extension/Theme Manager
Product: Toolkit → Firefox
QA Contact: xulrunner → extension.manager
Version: 1.8 Branch → 1.5 Branch
Assignee | ||
Comment 2•19 years ago
|
||
This was caused by bug 323956. Looks like it was using mozilla\xulrunner\app\profile\extensions to create the extensions directory in the app directory. I will most likely just change DirectoryInstallLocation so it won't throw when it is unable to create a missing directory so it will handle this properly whether or not the app provides an extensions directory.
Assignee | ||
Comment 3•19 years ago
|
||
This needs additional testing but so far so good.
Assignee | ||
Updated•19 years ago
|
Attachment #211075 -
Flags: review?(benjamin)
Assignee | ||
Updated•19 years ago
|
Attachment #211075 -
Flags: review?(benjamin) → review?(mconnor)
Assignee | ||
Comment 4•19 years ago
|
||
Tested successfully with Firefox and with a couple of XULRunner apps.
Updated•19 years ago
|
Attachment #211075 -
Flags: review?(mconnor) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #211075 -
Flags: branch-1.8.1+
Assignee | ||
Comment 5•19 years ago
|
||
Checked in on trunk and MOZILLA_1_8_BRANCH
Comment 6•19 years ago
|
||
Comment on attachment 211075 [details] [diff] [review] patch Want this for xulrunner; according to robstrong and my own review this is very safe since it just adds a try/catch block.
Attachment #211075 -
Flags: approval1.8.0.2?
Comment 7•18 years ago
|
||
Comment on attachment 211075 [details] [diff] [review] patch approved for 1.8.0 branch, a=dveditz for drivers
Attachment #211075 -
Flags: approval1.8.0.2? → approval1.8.0.2+
Updated•18 years ago
|
Flags: blocking1.8.0.2+
Assignee | ||
Comment 8•18 years ago
|
||
Assignee | ||
Comment 9•18 years ago
|
||
Checked in to MOZILLA_1_8_0 for 1.8.0.2 Checking in mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in; /cvsroot/mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in,v <-- nsExtensionManager.js.in new revision: 1.144.2.16.2.3; previous revision: 1.144.2.16.2.2
Keywords: fixed1.8.0.2
Comment 10•18 years ago
|
||
ready for testing in firefox 1.5.0.2. I think tha the following testcase will cover this bug - please comment if more is needed: After installing but before running firefox, set the install directory read-only and remove the extensions directory if it exists. Then run Firefox
Whiteboard: [rft-dl]
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•