web extension browser.contextMenu.create() does not allow "bookmark" context
Reported by
nyet...@gmail.com,
Mar 24 2018
|
|||||
Issue description
Chrome Version : 65.0.3325.181
OS Version: 10.0
browser.contextMenus.create({
id: "item-id",
title: "Item Title",
contexts: ["bookmark"], // does not work in chrome, of course.
});
What is the expected result?
Creation of "Item Title" menu time in bookmark context menu
What happens instead of that?
Uncaught Error: Invalid value for argument 1. Property 'contexts.0': Value must be one of: [all, page, frame, selection, link, editable, image, video, audio, launcher, browser_action, page_action].
at validate (extensions::schemaUtils:34)
at Object.normalizeArgumentsAndValidate (extensions::schemaUtils:119)
at Object.<anonymous> (extensions::binding:363)
UserAgentString: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Mozilla supports it:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/menus/ContextType
,
Mar 26 2018
nyetliu@ Thanks for the issue. Request you to provide an extension where this issue can be reproducible which will help in further triaging. Thanks..
,
Mar 26 2018
susan.boorgula@, this is a feature request for extensions API. There are no existing extensions for Chrome since the feature isn't implemented yet.
,
Apr 6 2018
,
May 31 2018
As per comment#3 & 4, this issue seems to be Feature request, hence marking it as Untriaged. Thanks!
,
Jun 1 2018
This sounds reasonable to me, but we're unlikely to get to it in the near future. If anyone wanted to volunteer for it, the instructions for proposing a new extension API are here [1], and we're happy to provide guidance. [1] https://chromium.googlesource.com/chromium/src/+/master/extensions/docs/new_api_proposal.md |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ajha@chromium.org
, Mar 26 2018Labels: Needs-Triage-M65