Closed
Bug 289297
Opened 20 years ago
Closed 20 years ago
Use nsXFormsUtils::ReportError for existing error events
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allan, Assigned: allan)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
24.60 KB,
patch
|
doronr
:
review+
|
Details | Diff | Splinter Review |
When we throw f.x. a xforms-link-exception like this http://lxr.mozilla.org/seamonkey/source/extensions/xforms/nsXFormsModelElement.cpp#333 we should add information to the JS console using nsXFormsUtils::ReportError()
| Assignee | ||
Comment 1•20 years ago
|
||
Here's a quick patch, including a fix that stops controls from doing anything when they do not have a parent (which triggered the same error again and again in the cloning code. The error messages should be refined, etc., etc. but here's a start.
Attachment #179971 -
Flags: review?(smaug)
Comment 2•20 years ago
|
||
Allan, you forgot the properties file :)
| Assignee | ||
Comment 3•20 years ago
|
||
(In reply to comment #2) > Allan, you forgot the properties file :) Properties schmoperties! :) Here's one with the properties and does the job a bit better.
Attachment #179971 -
Attachment is obsolete: true
Attachment #180027 -
Flags: review?(doronr)
Comment 4•20 years ago
|
||
Comment on attachment 179971 [details] [diff] [review] Quick patch This review is actually for https://bugzilla.mozilla.org/attachment.cgi?id=180027
Attachment #179971 -
Flags: review?(smaug) → review+
Comment 5•20 years ago
|
||
Comment on attachment 180027 [details] [diff] [review] Patch v/properties r=me
Attachment #180027 -
Flags: review?(doronr) → review+
| Assignee | ||
Comment 6•20 years ago
|
||
Checked in, a=mkaply
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
•