Closed Bug 700733 Opened 13 years ago Closed 12 years ago

Selection Context Menu Item throws error on right-click of form button.

Categories

(Add-on SDK Graveyard :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adam, Assigned: mossop)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

Steps to reproduce:

I created a content menu item for the selection type. After loading up using cfx run, I right-clicked on a form button. You can recreate it with the following code: require('context-menu').Item({type:'selection',context:require('context-menu').SelectionContext(),label:'bug?',contentScript:'console.log(\'bug?\')'});


Actual results:

The menu did not appear and an error was written in the console.
Here is the error: http://paste.mootools.net/f38693bf4


Expected results:

The context menu should have appeared without my menu item.
OS: All → Mac OS X
Hardware: All → x86
Assignee: nobody → zer0
P2 if this is just form button specific. If it affects other stuff as well, we can raise priority.
Priority: -- → P2
Assignee: zer0 → nobody
Depends on: 788324
This is fixed in my work on bug 788324
Assignee: nobody → dtownsend+bugmail
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Fixed by bug 788324
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.13
You need to log in before you can comment on or make changes to this bug.