Closed Bug 573560 Opened 14 years ago Closed 14 years ago

Simplify the Form Assistant code in browser-ui.js

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vingtetun, Assigned: vingtetun)

References

Details

Attachments

(1 file, 3 obsolete files)

Since bug 566288, the form helper part into browser-ui can be simplified a lot since this is only UI now.
Also, the SelectHelper opening part of bindings.xml which open the xul menulist can be cleanup.
Attached patch wip-0.1 (obsolete) — Splinter Review
Plan is to removed the FormWrapper class and the needs for BasicWrapper in bindings.xml.

The wip is not functionnal at all yet, it is just a big rewrite/removal to see what I want
Attached patch wip v0.2 (obsolete) — Splinter Review
This one works better, but it still miss the UI for handling <select />
Attachment #453996 - Attachment is obsolete: true
Attached patch Patch (obsolete) — Splinter Review
This is pretty final but there's probably some places where this can be cleaned up.
Assignee: nobody → 21
Attachment #454017 - Attachment is obsolete: true
Attachment #454042 - Flags: feedback?(mark.finkle)
Comment on attachment 454042 [details] [diff] [review]
Patch

Asking review  instead of feedback because some cleanups has been made into bug 573561.
Attachment #454042 - Flags: feedback?(mark.finkle) → review?(mark.finkle)
Attached patch Patch v0.2Splinter Review
This is updated on trunk and include some parts of bug 573561.
Attachment #454042 - Attachment is obsolete: true
Attachment #457062 - Flags: review?(mark.finkle)
Attachment #454042 - Flags: review?(mark.finkle)
Comment on attachment 457062 [details] [diff] [review]
Patch v0.2

I had to fix some bitrot and change gPrefService -> Services.prefs, but things seem to work ok.

Since I have the patch unbitrotted, I'll land it
Attachment #457062 - Flags: review?(mark.finkle) → review+
pushed:
http://hg.mozilla.org/mobile-browser/rev/1eb35d99a861

Vivien - I'll let you handle updating bug 573561 as needed
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: