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

RESOLVED FIXED in 1.13

Status

Add-on SDK
General
P2
normal
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: doubleTap, Assigned: mossop)

Tracking

unspecified
1.13
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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.
(Reporter)

Updated

6 years ago
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)

Updated

5 years ago
Assignee: zer0 → nobody
(Assignee)

Updated

5 years ago
Depends on: 788324
(Assignee)

Comment 2

5 years ago
This is fixed in my work on bug 788324
Assignee: nobody → dtownsend+bugmail
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
(Assignee)

Comment 3

5 years ago
Fixed by bug 788324
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

5 years ago
Target Milestone: --- → 1.13
You need to log in before you can comment on or make changes to this bug.