Closed
Bug 207864
Opened 21 years ago
Closed 16 years ago
Some things GetService "@mozilla.org/rdf/container;1"
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
References
()
Details
Attachments
(5 files)
(deleted),
patch
|
neil
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
I'm not certain that this is wrong, so feel free to correct me if i'm wrong.
Comment 1•21 years ago
|
||
It works, but they probably shouldn't be doing it.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•21 years ago
|
||
This is not an rdf bug, please file bugs for the affected components.
Attachment #146740 -
Flags: review?(neil.parkwaycc.co.uk)
Status: NEW → ASSIGNED
Component: RDF → XP Apps: GUI Features
Comment 4•21 years ago
|
||
Comment on attachment 146740 [details] [diff] [review]
createInstance
>-const RDFContainer = Components.classes["@mozilla.org/rdf/container;1"].getService(Components.interfaces.nsIRDFContainer);
>+const RDFContainer = Components.classes["@mozilla.org/rdf/container;1"].createInstance(Components.interfaces.nsIRDFContainer);
Possible abuse of RDFContainer here - it gets Init()ed multiple times.
Even if that's allowable IMHO this should say var rather than const.
>- RDFC = Components.classes["@mozilla.org/rdf/container;1"].getService();
>+ RDFC = Components.classes["@mozilla.org/rdf/container;1"].createInstance();
> if (RDFC) RDFC = RDFC.QueryInterface(Components.interfaces.nsIRDFContainer);
r=me (subject to possible r- above) if you fix the bad createInstance fu.
Attachment #146740 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #146740 -
Flags: superreview?(jag)
Comment 5•21 years ago
|
||
Comment on attachment 146740 [details] [diff] [review]
createInstance
I'm guessing Neil meant to say something like "combine those two statements
into one" for the search-editor.js part of the patch. If not, I say go ahead
and do it. sr=jag with that.
Though unspecified, I believe init can be called multiple times to
"reinitialize" the container to the new context. RDFContainerImpl::Init seems
to have been written with this in mind.
Attachment #146740 -
Flags: superreview?(jag) → superreview+
Comment 6•21 years ago
|
||
I wrote exactly what I meant to write, but it meant what jag wrote ;-)
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
Comment 7•16 years ago
|
||
timeless,
Are you still working on this ?
Comment 8•16 years ago
|
||
Attachment #355359 -
Flags: review?(mkmelin+mozilla)
Updated•16 years ago
|
QA Contact: ui-design
Comment 9•16 years ago
|
||
Attachment #355360 -
Flags: review?(gavin.sharp)
Updated•16 years ago
|
Attachment #355360 -
Flags: review?(gavin.sharp) → review+
Comment 10•16 years ago
|
||
Attachment #355361 -
Flags: review?(neil)
Updated•16 years ago
|
Attachment #355361 -
Attachment description: suite/Instace → suite/Instance
Comment 11•16 years ago
|
||
Okay, I should have put this one in either the toolkit or the suite patch (though I couldn't, really, crossing repos), but suitekit's pretty cute, for an afterthought.
Attachment #355362 -
Flags: review?(neil)
Updated•16 years ago
|
Attachment #355361 -
Flags: review?(neil) → review+
Updated•16 years ago
|
Attachment #355362 -
Flags: review?(neil) → review+
Updated•16 years ago
|
Attachment #355359 -
Flags: review?(mkmelin+mozilla) → review+
Updated•16 years ago
|
OS: Windows 2000 → All
Hardware: x86 → All
Comment 12•16 years ago
|
||
Comment on attachment 355361 [details] [diff] [review]
suite/Instance [checked in]
http://hg.mozilla.org/comm-central/rev/610f02e3c92c
Attachment #355361 -
Attachment description: suite/Instance → suite/Instance [checked in]
Comment 13•16 years ago
|
||
Comment on attachment 355359 [details] [diff] [review]
mail/Instance [checked in]
http://hg.mozilla.org/comm-central/rev/f4eb87ffd715
Attachment #355359 -
Attachment description: mail/Instance → mail/Instance [checked in]
Comment 14•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/8dcbd3d42d68
http://hg.mozilla.org/mozilla-central/rev/562fa5121cec
Close enough: please to be filing new bugs for any instances I might have missed.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•