Closed
Bug 273678
Opened 20 years ago
Closed 20 years ago
nsChromeRegistry::ProcessNewChromeBuffer never flushes the profile chrome.rdf
Categories
(Toolkit :: Startup and Profile System, defect)
Toolkit
Startup and Profile System
Tracking
()
RESOLVED
FIXED
People
(Reporter: darin.moz, Assigned: darin.moz)
Details
Attachments
(1 file)
3.81 KB,
patch
|
benjamin
:
first-review+
|
Details | Diff | Splinter Review |
nsChromeRegistry::ProcessNewChromeBuffer never flushes the profile chrome.rdf
I noticed while playing around with xulrunner that chrome.rdf was not getting
created in the profile directory. I believe this may somehow be a regression
from the way things worked prior to the aviary branch landing or perhaps prior
to some other trunk changes. At any rate, while investigating that problem I
noticed that nsChromeRegistry::ProcessNewChromeBuffer flushes the chrome.rdf
that lives in the install directory irregardless of whether or not changes were
made to the install- relative data source. It seems to me that we should flush
whichever data source is modified (or both).
Patch coming up...
Assignee | ||
Comment 1•20 years ago
|
||
this patch does the trick.
i think previously that the profile-relative chrome.rdf was getting written out
at shutdown time. now, on the trunk i only see a warning coming from the XML
RDF datasource about not being able to flush after xpcom-shutdown. it seems
some shutdown sequencing has changed. at any rate, this patch still seems like
the right thing to do.
Assignee | ||
Updated•20 years ago
|
Attachment #168191 -
Flags: first-review?(bsmedberg)
Updated•20 years ago
|
Attachment #168191 -
Flags: first-review?(bsmedberg) → first-review+
Assignee | ||
Comment 2•20 years ago
|
||
fixed-on-trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: XRE Startup → Startup and Profile System
QA Contact: nobody → startup
You need to log in
before you can comment on or make changes to this bug.
Description
•