Closed
Bug 279059
Opened 20 years ago
Closed 20 years ago
Need to seperate out refreshing code from revalidate
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronr, Assigned: allan)
Details
Attachments
(1 file, 1 obsolete file)
3.46 KB,
patch
|
bryner
:
superreview+
|
Details | Diff | Splinter Review |
Placeholder bug. In order to make handling of xforms-refresh and function call
to refresh to work, we need to seperate out refresh code from revalidate code
inside nsXFormsModelElement.cpp.
Assignee | ||
Comment 1•20 years ago
|
||
(In reply to comment #0)
> Placeholder bug. In order to make handling of xforms-refresh and function call
> to refresh to work, we need to seperate out refresh code from revalidate code
> inside nsXFormsModelElement.cpp.
Check. nsXFormsModelElement::Revalidate() just needs to save the controls
needing a refresh in a member array, so nsXFormsModelElement::Refresh() can go
through them.
Assignee: aaronr → allan
Assignee | ||
Comment 2•20 years ago
|
||
Attachment #173006 -
Flags: superreview?(bryner)
Attachment #173006 -
Flags: review?(aaronr)
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Comment 3•20 years ago
|
||
Comment on attachment 173006 [details] [diff] [review]
Fix
Would it be possible for controls to be removed from the document between the
call to Revalidate and the call to Refresh()? If so, this will call through a
dangling pointer. We either need to notice when controls are removed and
remove them from mControlsNeedingRefresh, or make it a nsCOMArray that can hold
a strong reference.
Attachment #173006 -
Flags: review?(aaronr) → review+
crap, I didn't even think of that when I reviewed it.
Probably could be removed from this list during RemoveFromModelList(). Maybe
change the name to RemoveFromModelLists().
sorry, I meant maybe it should be added to:
nsXFormsModelElement::RemoveFormControl().
Assignee | ||
Updated•20 years ago
|
Attachment #173006 -
Flags: superreview?(bryner)
Assignee | ||
Comment 6•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #173006 -
Attachment is obsolete: true
Attachment #173070 -
Flags: superreview?(bryner)
Updated•20 years ago
|
Attachment #173070 -
Flags: superreview?(bryner) → superreview+
Assignee | ||
Comment 7•20 years ago
|
||
Check in by bryner
Status: ASSIGNED → 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
•