Closed Bug 1344455 Opened 8 years ago Closed 8 years ago

Context menus appears for a link in Firefox web extensions

Categories

(WebExtensions :: Frontend, defect)

51 Branch
x86_64
Windows 10
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: willalwaysdie, Unassigned)

Details

Attachments

(1 file)

Attached image 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)
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Component: Untriaged → WebExtensions: Frontend
Product: Firefox → Toolkit
Fixed in new ver. 52.0.1 (stable)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: