Closed Bug 324456 Opened 19 years ago Closed 18 years ago

tabbox.xml should throw more useful errors

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: Gavin, Assigned: enndeakin)

References

Details

Attachments

(1 file)

Throwing NS_ERRORs results in nondescriptive "Error: uncaught exception: 2147500037" messages in the Javascript console - displaying something more descriptive would be helpful for debugging.
Attached patch patchSplinter Review
I don't know if this is the best way of doing this, comments welcome.
Severity: normal → minor
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → mozilla1.8.1
Version: Trunk → 1.8 Branch
I guess these should probably be throw new Error("...").
Priority: P4 → --
Target Milestone: mozilla1.8.1 → ---
Version: 1.8 Branch → Trunk
Depends on: 370742
Fix by bug 370742
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee: gavin.sharp → enndeakin
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: