Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M118-Extensions] Don't update access if site permissions aren't allowed
Page access options in the extension's context menu should only be enabled when the extension site permissions can be changed. However, sometimes the command still gets invoked (crbug.com/1468151). Thus, we exit early to prevent any crashes. (cherry picked from commit bdf5332) Bug: 1468151 Change-Id: I6549e9e95008873a2175a46d583c118ba92913f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4874994 Commit-Queue: Emilia Paz <emiliapaz@chromium.org> Reviewed-by: David Bertoni <dbertoni@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1198540} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4943086 Auto-Submit: Emilia Paz <emiliapaz@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/branch-heads/5993@{#1309} Cr-Branched-From: 5113507-refs/heads/main@{#1192594}
- Loading branch information