Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Issue 2683793005: Let disabled/terminated extensions show ErrorConsole. (Closed)

Created:
3 years, 10 months ago by lazyboy
Modified:
3 years, 10 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let disabled/terminated extensions show ErrorConsole. Right now clicking on "Errors" link of a disabled/terminated extension in chrome://extensions does nothing and throws a JS error: "Uncaught TypeError: Cannot read property 'manifestErrors' of undefined" Because we filter out any extension that is not in state ExtensionState.ENABLED. This CL removes the filtering that was introduced in the beginning afaik: https://codereview.chromium.org/1016413004 Error console shows up for those extensions with this change. BUG=482526, 518053 Test=Make an extension have "Errors" link under chrome://extensions. e.g. by loading an extension that logs to console. Then 1) disable the extension. 2) terminate the extension from Task Manager. Now click on the "Errors" link again. It will show the error console. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2683793005 Cr-Commit-Position: refs/heads/master@{#452202} Committed: https://chromium.googlesource.com/chromium/src/+/183e1abfdf73580495e0b157cdeb20418dd04862

Patch Set 1 #

Patch Set 2 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M chrome/browser/resources/extensions/extension_list.js View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 19 (15 generated)
lazyboy
3 years, 10 months ago (2017-02-09 01:09:58 UTC) #3
Devlin
lgtm; sorry for letting this one slip!
3 years, 10 months ago (2017-02-17 23:19:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2683793005/20001
3 years, 10 months ago (2017-02-22 21:10:14 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 21:18:00 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/183e1abfdf73580495e0b157cdeb...

Powered by Google App Engine
This is Rietveld 408576698