Closed Bug 345561 Opened 19 years ago Closed 18 years ago

why try / catch in adjustTabstrip() in tabbrowser.xml?

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3 alpha5

People

(Reporter: moco, Assigned: ventnor.bugzilla)

References

Details

Attachments

(1 file)

why try / catch in adjustTabstrip() in tabbrowser.xml? we're not sure why, which is why we added the "XXXzeniko" comment: case 1: try { ... } catch (e) { // XXXzeniko what error are we catching here? }
All it is is just setting an attribute, the same in all other cases. I don't see the need for a try clause either.
Attachment #230237 - Flags: review?(sspitzer)
hmm, maybe I hit this sometimes before the boxObject was defined? I wrote most of this months ago... I'd say try the patch on trunk, but not worth taking on branch unless the try/catch is deemed harmful.
Comment on attachment 230237 [details] [diff] [review] Remove try clause sspitzer is busy with Places.
Attachment #230237 - Flags: review?(sspitzer) → review?(gavin.sharp)
Attachment #230237 - Flags: review?(gavin.sharp) → review+
Whiteboard: [checkin needed]
Assignee: nobody → ventnor.bugzilla
mozilla/toolkit/content/widgets/tabbrowser.xml 1.228
Status: NEW → RESOLVED
Closed: 18 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Target Milestone: --- → Firefox 3 alpha5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: