Closed Bug 451373 Opened 17 years ago Closed 17 years ago

code cleanup in BrowserUI.show

Categories

(Firefox for Android Graveyard :: General, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
fennec1.0a1

People

(Reporter: db48x, Assigned: db48x)

Details

Attachments

(2 files, 1 obsolete file)

I cleaned it up a bit, and figure that the cleanup can be checked in independently. This is mostly just to make it more easily maintainable; it doesn't make it easy for an extension author to use. It does make it easier for us to add to the list in the future.
Attached patch WIPSplinter Review
Comment on attachment 334680 [details] [diff] [review] WIP I don't think we should go this route. Things are only going to get worse and the current (and WIP) approaches don't scale. I have some ideas. I hope to get a patch soon.
"Things are only going to get worse" -> Fennec is getting more panels and sidebars
Flags: wanted-fennec1.0+
Priority: -- → P3
Target Milestone: --- → Fennec A1
Attached patch 451373-2.diff (obsolete) — Splinter Review
In that vein, here's something simple we can do to make extensions possible.
Attachment #340793 - Flags: review?(mark.finkle)
Comment on attachment 340793 [details] [diff] [review] 451373-2.diff I like this, but I just bitrotted your patch pretty good. Also, I'd like to use "linkedpanel" instead of "panelid" as the attribute on the toolbarbuttons
Attachment #340793 - Flags: review?(mark.finkle) → review-
Attached patch 451373-3.diffSplinter Review
Attachment #340793 - Attachment is obsolete: true
Attachment #340811 - Flags: review?(mark.finkle)
Comment on attachment 340811 [details] [diff] [review] 451373-3.diff nice cleanup
Attachment #340811 - Flags: review?(mark.finkle) → review+
Comment on attachment 340811 [details] [diff] [review] 451373-3.diff I pushed this the other day.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
The reason I didn't resolve the bug was that there were/are other improvements that could be made. I guess that is uncouth though.
we have reworked a lot of this code. This is more of a dev item than a testcase to verify.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: