Closed
Bug 267480
Opened 20 years ago
Closed 20 years ago
XForms should use nsISchemaLoader
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: doronr, Assigned: doronr)
Details
Attachments
(1 file)
|
3.27 KB,
patch
|
darin.moz
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•20 years ago
|
||
| Assignee | ||
Updated•20 years ago
|
Attachment #164405 -
Flags: superreview?(darin)
Comment 2•20 years ago
|
||
Comment on attachment 164405 [details] [diff] [review] attempt >Index: extensions/xforms/nsXFormsModelElement.cpp > nsXFormsModelElement::nsXFormsModelElement() ... >+ mSchemas = do_GetService(NS_SCHEMALOADER_CONTRACTID); It might be better to defer initialization of mSchemas until OnCreated is called. One reason: even if it doesn't happen now, this might result in re-entering GetService while we are inside GetService, which is not supported. I'm not suggesting that this could happen today, but maybe in the future if XTF changes slightly, it could happen. So, it might be better to defer until OnCreated. Anyways, there isn't any reason to do this in the constructor, right? >@@ -137,6 +141,7 @@ You might want to add "-p" on the command line when you run cvs diff, so that it generates diffs that show the functions being modified. It makes reviewing much easier :) Otherwise, this patch looks fine to me. r+sr=darin
Attachment #164405 -
Flags: superreview?(darin)
Attachment #164405 -
Flags: superreview+
Attachment #164405 -
Flags: review+
| Assignee | ||
Comment 3•20 years ago
|
||
checked in,
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•