Context menus appears for a link in Firefox web extensions

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
2 years ago
4 months ago

People

(Reporter: willalwaysdie, Unassigned)

Tracking

51 Branch
x86_64
Windows 10

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8843556 [details]
S0SFV.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce:

1. var test = browser.contextMenus.create({
        title: 'test item',
        id: 'testItem',
        contexts: ["page", "frame", "selection", "editable", "video", "browser_action", "page_action"]
    });


Actual results:

1. I didn't add 'link' to contexts, but contextmenus still appears for links

Problem only with Firefox Web Extensions, everything is ok with Google Chrome


Expected results:

Contextmenus should not appears for links if I didn't add 'link' to contexts

Problem with 'page', I tried to remove it from contexts and then "test item" didn't appear, so 'page' works wrongly (not as in Chrome)
(Reporter)

Updated

2 years ago
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Updated

2 years ago
Component: Untriaged → WebExtensions: Frontend
Product: Firefox → Toolkit
(Reporter)

Comment 1

2 years ago
Fixed in new ver. 52.0.1 (stable)

Updated

2 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME

Updated

4 months ago
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.