Closed
Bug 632269
Opened 12 years ago
Closed 12 years ago
Register chrome from profile's chrome folder (NS_APP_USER_CHROME_DIR)
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alqahira, Assigned: alqahira)
References
Details
Attachments
(1 file)
1.03 KB,
patch
|
stuart.morgan+bugzilla
:
superreview+
|
Details | Diff | Splinter Review |
dirserviceprovider's nsProfileDirServiceProvider.cpp, which ends up as part of our libprofdirserviceprovider_s.a, *defines* NS_APP_USER_CHROME_DIR (the profile's chrome folder), which (along with the way that nsLayoutStylesheetCache.cpp references the user*.css files) is why userContent.css continues to work in the Camino+1.9.2 world, but, as outlined in bug 632261 comment 0, the toolkit chrome registry doesn't *register chrome* from that folder. Fortunately, the fix here is simple; just add NS_APP_USER_CHROME_DIR to NS_CHROME_MANIFESTS_FILE_LIST so that the toolkit chrome registry will enumerate manifests in that directory when it enumerates the other manifests.
Assignee | ||
Comment 1•12 years ago
|
||
Stuart, when you wrote the code I copied here in bug 457290, you checked |NS_ENSURE_SUCCESS(rv, rv);| after appending both the lproj and the bundle's internal chrome folder; after the patch for bug 634398, you only check it after appending the lproj. I added back the check after appending the internal chrome folder when I added the copied code so that all three are checked, but let me know what the right thing to do is ;)
Attachment #513784 -
Flags: superreview?(stuart.morgan+bugzilla)
Comment 2•12 years ago
|
||
Comment on attachment 513784 [details] [diff] [review] Add NS_APP_USER_CHROME_DIR to the NS_CHROME_MANIFESTS_FILE_LIST Yeah, that was a mistake (although if that ever fails something is probably already very wrong ;). sr=smorgan
Attachment #513784 -
Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Assignee | ||
Comment 3•12 years ago
|
||
This got landed as part of bug 632261's checkin, because this patch really needed the folder-creation code added there, and it just got to be a mess to keep untangling the patches every time I had to change something ;-) So fixed by http://hg.mozilla.org/camino/rev/a4313852d465
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•