Closed Bug 282351 Opened 21 years ago Closed 20 years ago

Dispatch load event after instance data loading

Categories

(Core Graveyard :: XForms, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file, 3 obsolete files)

Attached patch v1 (obsolete) — Splinter Review
This puts instance data loading to the load group of the main document.
Attached patch v.1.0.1 (obsolete) — Splinter Review
Removed few extra lines.
Attachment #174386 - Attachment is obsolete: true
don't you have to throw some exception if LoadExternalInstance fails?
(In reply to comment #3) > don't you have to throw some exception if LoadExternalInstance fails? model->InstanceLoadFinished(PR_FALSE);
btw, the patch looks good overall.. i was just concerned about error handling.
Attachment #174388 - Flags: review?(allan)
Attached patch v.1.0.2 (obsolete) — Splinter Review
Still minor tweak.
Attachment #174388 - Attachment is obsolete: true
Attachment #174406 - Flags: review?(allan)
Attachment #174388 - Flags: review?(allan)
Status: NEW → ASSIGNED
nit: might want to comment nsXFormsInstanceElement::LoadExternalInstance to say why you are using the load group approach (i.e. what problem you are trying to solve). Otherwise looks ok to me.
Comment on attachment 174406 [details] [diff] [review] v.1.0.2 I agree with Aaron, you should put the rationale somewhere in a comment. But except for that it looks, and works, as it should as far as I can see.
Attachment #174406 - Flags: review?(allan) → review+
Attachment #174406 - Attachment is obsolete: true
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: