Closed Bug 986808 Opened 11 years ago Closed 11 years ago

Sidebar widget - Don't copy over <menuseparator> if it's the first item, or if previous item copied is also a menuseparator.

Categories

(Firefox :: Menus, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 31
Tracking Status
firefox29 --- unaffected
firefox30 --- fixed
firefox31 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Australis:P3-])

Attachments

(1 file)

Whiteboard: [Australis:P3-]
I went on a unifying rampage. Not exactly the minimal fix, but as this only needs to head to Aurora and not Beta, it seems OK to me. Mike, look OK to you?
Attachment #8398148 - Flags: review?(mconley)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment on attachment 8398148 [details] [diff] [review] don't insert duplicate separators in sidebar widget, Review of attachment 8398148 [details] [diff] [review]: ----------------------------------------------------------------- Wow - nice job DRYing up this code! It might be nice to generalize some of this even further, and allow the Help subview and add-ons use this code as well, but I think this is a fine intermediate step.
Attachment #8398148 - Flags: review?(mconley) → review+
Whiteboard: [Australis:P3-] → [Australis:P3-][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3-][fixed-in-fx-team] → [Australis:P3-]
Target Milestone: --- → Firefox 31
Comment on attachment 8398148 [details] [diff] [review] don't insert duplicate separators in sidebar widget, [Approval Request Comment] Bug caused by (feature/regressing bug #): Australis / sidebar widget User impact if declined: sidebar widget subview might look sloppy, with stray separators in there Testing completed (on m-c, etc.): on m-c Risk to taking this patch (and alternatives if risky): reasonably low, although there's a good bit of refactoring in here, it's baked for quite a while with no known issues, and there are several automated tests for the results of the code String or IDL/UUID changes made by this patch: none
Attachment #8398148 - Flags: approval-mozilla-aurora?
Attachment #8398148 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Blocks: 989751
Flagging in-testsuite+ since this appears to have landed with tests.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: