Issue metadata
Sign in to add a comment
|
chrome.contextMenus.update can't uncheck checkbox items
Reported by
woxxom@gmail.com,
Dec 4 2017
|
||||||||||||||||||||||
Issue descriptionGoogle Chrome 64.0.3282.5 (Official Build) canary (64-bit) ======================================== 1. install the attached extension 2. click its icon normally 3. right-click its icon to invoke the menu Expected: "Custom menu item" is unchecked Observed: "Custom menu item" is checked ======================================== Bisect info: 490661 (good) - 490663 (bad) https://chromium.googlesource.com/chromium/src/+log/522a1913..d36bea9f?pretty=fuller Suspecting r490662 = c5c379e5bff7b3cf322feed1611f9eedfbec294f = https://crrev.com/c/576271 by catmullings@chromium.org "[extensions] Fix context menu radio button update" Landed in 62.0.3172.0
,
Dec 6 2017
Thanks woxxom@ for the report and krajshree@ for the confirmation. I can look into fixing this.
,
Dec 9 2017
,
Dec 9 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/07f8da47fd27db4ada81be928bcc6eb1d962eb45 commit 07f8da47fd27db4ada81be928bcc6eb1d962eb45 Author: Catherine Mullings <catmullings@chromium.org> Date: Sat Dec 09 00:41:36 2017 Extensions: Fix chrome.contextMenus.update false to uncheck checkboxes chrome.contextMenus.update(checkboxId, {checked: false}) no longer works to uncheck a checkbox. This CL fixes this regression. Bug: 791671 Change-Id: Iee0c9b430014324bb27d94cf2c9d1bd47ae8aa19 Reviewed-on: https://chromium-review.googlesource.com/815377 Commit-Queue: catmullings <catmullings@chromium.org> Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#522939} [modify] https://crrev.com/07f8da47fd27db4ada81be928bcc6eb1d962eb45/chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h [modify] https://crrev.com/07f8da47fd27db4ada81be928bcc6eb1d962eb45/chrome/browser/extensions/extension_context_menu_browsertest.cc [add] https://crrev.com/07f8da47fd27db4ada81be928bcc6eb1d962eb45/chrome/test/data/extensions/context_menus/checkboxes/manifest.json [add] https://crrev.com/07f8da47fd27db4ada81be928bcc6eb1d962eb45/chrome/test/data/extensions/context_menus/checkboxes/test.js |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by krajshree@chromium.org
, Dec 5 2017Owner: catmulli...@chromium.org
Status: Assigned (was: Unconfirmed)