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

Issue 23311011: ErrorConsole Switch, Duplicate Error Detection, Dev Mode Check (Closed)

Created:
7 years, 3 months ago by Devlin
Modified:
7 years, 3 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

ErrorConsole Switch, Duplicate Error Detection, Dev Mode Check Add in a command-line switch for ErrorConsole ('enable-error-console'). Add in duplicate-error detection, so that multiple copies of the same error aren't both stored. Add in a check so that the ErrorConsole only stores errors if the user is in Developer Mode. Rename ManifestParsingError to ManifestError, JavascriptRuntimeError to RuntimeError BUG=21734 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220108

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Convert to FeatureSwitch, add Occurrence Count #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : Disable ErrorConsole for Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -85 lines) Patch
chrome/browser/extensions/error_console/error_console.h View 1 5 chunks +21 lines, -3 lines 0 comments Download
chrome/browser/extensions/error_console/error_console.cc View 1 2 3 4 chunks +82 lines, -15 lines 0 comments Download
chrome/browser/extensions/error_console/error_console_unittest.cc View 1 2 7 chunks +64 lines, -14 lines 0 comments Download
chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
chrome/common/extensions/feature_switch.h View 1 1 chunk +1 line, -1 line 0 comments Download
chrome/common/extensions/feature_switch.cc View 1 3 chunks +14 lines, -6 lines 0 comments Download
extensions/browser/extension_error.h View 1 3 chunks +37 lines, -19 lines 0 comments Download
extensions/browser/extension_error.cc View 1 4 chunks +66 lines, -27 lines 0 comments Download
extensions/common/switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
extensions/common/switches.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Devlin
Hey Yoyo, please take a look when you get a chance. The duplicate error/dev mode ...
7 years, 3 months ago (2013-08-26 21:33:13 UTC) #1
Yoyo Zhou
https://codereview.chromium.org/23311011/diff/9001/chrome/browser/extensions/error_console/error_console.cc File chrome/browser/extensions/error_console/error_console.cc (right): https://codereview.chromium.org/23311011/diff/9001/chrome/browser/extensions/error_console/error_console.cc#newcode56 chrome/browser/extensions/error_console/error_console.cc:56: // If we don't have the necessary CommandLine switch ...
7 years, 3 months ago (2013-08-27 00:41:07 UTC) #2
Devlin
https://codereview.chromium.org/23311011/diff/9001/chrome/browser/extensions/error_console/error_console.cc File chrome/browser/extensions/error_console/error_console.cc (right): https://codereview.chromium.org/23311011/diff/9001/chrome/browser/extensions/error_console/error_console.cc#newcode56 chrome/browser/extensions/error_console/error_console.cc:56: // If we don't have the necessary CommandLine switch ...
7 years, 3 months ago (2013-08-27 17:13:56 UTC) #3
Yoyo Zhou
LGTM https://codereview.chromium.org/23311011/diff/18002/chrome/browser/extensions/error_console/error_console.cc File chrome/browser/extensions/error_console/error_console.cc (right): https://codereview.chromium.org/23311011/diff/18002/chrome/browser/extensions/error_console/error_console.cc#newcode137 chrome/browser/extensions/error_console/error_console.cc:137: FeatureSwitch::error_console()->IsEnabled(); It doesn't make sense to test for ...
7 years, 3 months ago (2013-08-27 17:28:00 UTC) #4
Devlin
https://codereview.chromium.org/23311011/diff/18002/chrome/browser/extensions/error_console/error_console.cc File chrome/browser/extensions/error_console/error_console.cc (right): https://codereview.chromium.org/23311011/diff/18002/chrome/browser/extensions/error_console/error_console.cc#newcode137 chrome/browser/extensions/error_console/error_console.cc:137: FeatureSwitch::error_console()->IsEnabled(); On 2013/08/27 17:28:00, Yoyo Zhou wrote: > It ...
7 years, 3 months ago (2013-08-27 18:25:55 UTC) #5
Yoyo Zhou
https://codereview.chromium.org/23311011/diff/18002/chrome/browser/extensions/error_console/error_console.cc File chrome/browser/extensions/error_console/error_console.cc (right): https://codereview.chromium.org/23311011/diff/18002/chrome/browser/extensions/error_console/error_console.cc#newcode137 chrome/browser/extensions/error_console/error_console.cc:137: FeatureSwitch::error_console()->IsEnabled(); On 2013/08/27 18:25:55, D Cronin wrote: > On ...
7 years, 3 months ago (2013-08-27 18:48:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/23311011/21001
7 years, 3 months ago (2013-08-27 18:54:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/23311011/21001
7 years, 3 months ago (2013-08-27 19:07:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/23311011/21001
7 years, 3 months ago (2013-08-27 19:22:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/23311011/21001
7 years, 3 months ago (2013-08-27 19:48:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/23311011/21001
7 years, 3 months ago (2013-08-28 00:57:26 UTC) #11
Devlin
On 2013/08/28 16:02:47, I haz the power (commit-bot) wrote: > The commit queue went berserk ...
7 years, 3 months ago (2013-08-28 16:25:26 UTC) #13
Yoyo Zhou
On 2013/08/28 16:25:26, D Cronin wrote: > On 2013/08/28 16:02:47, I haz the power (commit-bot) ...
7 years, 3 months ago (2013-08-28 16:32:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/23311011/88001
7 years, 3 months ago (2013-08-28 17:43:56 UTC) #15
commit-bot: I haz the power
7 years, 3 months ago (2013-08-28 21:59:24 UTC) #16
Message was sent while issue was closed.
Change committed as 220108

Powered by Google App Engine
This is Rietveld 408576698