Closed Bug 663771 Opened 13 years ago Closed 13 years ago

HistoryMenu.toggleTabsFromOtherComputers doesn't account for other uses of the HistoryMenu class

Categories

(Firefox :: Menus, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 7

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
The function toggles the 'tabs from other computers' item on the main history menu, regardless of which menu is displayed. The app button history menu uses the same class (although it doesn't have the menu item in question), and I know of at least one addon that uses it (because I wrote it).
Attachment #538838 - Flags: review?(mak77)
(In reply to comment #0) > The app button history > menu uses the same class (although it doesn't have the menu item in > question), What class does it use?
HistoryMenu (by class I mean in Javascript not CSS, why do these things have to have the same name?)
Well, to be precise, JS doesn't have classes. ;-)
Comment on attachment 538838 [details] [diff] [review] patch Review of attachment 538838 [details] [diff] [review]: ----------------------------------------------------------------- nit: What about a small comment like (feel free to make it real english): "// In some of the menus handled by HistoryMenu this menuitem may not exist."
Attachment #538838 - Flags: review?(mak77) → review+
Attachment #538838 - Attachment is obsolete: true
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → Firefox 7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: