New issue
Advanced search Search tips

Issue 613563 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

allow passing `onclick` to `contextMenus.create` on Chrome apps

Reported by zambonif...@gmail.com, May 20 2016

Issue description

Hello. I’m writing a Chrome app that needs custom context menus, so I’m using the `contextMenus` API. It’s working like a charm, but my only complaint is the fact that I cannot pass the `onclick` property to `contextMenus.create`, I’m forced to use ids and the `onClicked` event, which is very unnecessary for what I’m trying to do.

The complaint devtools gives me is that “Extensions using event pages must pass an id parameter to chrome.contextMenus.create” and “Extensions using event pages cannot pass an onclick parameter to chrome.contextMenus.create. Instead, use the chrome.contextMenus.onClicked event.”. however, I’m not writing an “extension using event pages”, I’m writing an app!
 
Labels: Te-NeedsFurtherTriage
Components: Platform>Apps>API
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 7 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment