Closed Bug 646970 Opened 14 years ago Closed 14 years ago

Remove controller argument from _buildMenu call in Menu::open() in controller.js

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: aaronmt, Assigned: aaronmt)

References

Details

(Keywords: regression, Whiteboard: [mozmill-1.5.3+])

Attachments

(1 file)

Discovered this while using Menu::open, wasn't sure why I was getting a "Can't convert undefined to object" exception on my XUL element, turns out it was acting on the controller. https://github.com/mozautomation/mozmill/blob/master/mozmill/mozmill/extension/resource/modules/controller.js#L148
Component: Mozmill Automation → Mozmill
Product: Mozilla QA → Testing
QA Contact: mozmill-automation → mozmill
Summary: Remove controller argument from _buildMenu call Menu::open() in controller.js → Remove controller argument from _buildMenu call in Menu::open() in controller.js
Clint, this is a nasty regression from bug 597330 and needs to be fixed so we can really use the menu API. It's a trivial fix.
Blocks: 597330
Keywords: regression
Here's the simple fix, requesting Henrik for review.
Assignee: nobody → aaron.train
Status: NEW → ASSIGNED
Attachment #523448 - Flags: review?(hskupin)
Comment on attachment 523448 [details] [diff] [review] Patch v1 - (master) I still can't believe that the controller went in as parameter. I wonder how the handling of the main menu was working since this check-in.
Attachment #523448 - Flags: review?(hskupin) → review+
Whiteboard: [mozmill-1.5.3?] → [mozmill-1.5.3+]
Please land on hotfix-1.5
I don't have write access to mozautomation/mozmill. Feel free to push.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Works fine with 1.5.3.
Status: RESOLVED → VERIFIED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: