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

Issue 405433011: LeakDetector: Add commandline option to force crash when leak is found. (Closed)

Created:
6 years, 5 months ago by kouhei (in TOK)
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

LeakDetector: Add commandline option to force crash when leak is found. This CL modifies the LeakDetector to force immediate crash when an optional commandline argument is specified to content_shell. Usage: $ content_shell --dump-render-tree --enable-leak-detection=crash-on-failure This enables us to use the ClusterFuzz infrastructure to investigate and minimize leaks, as the tool currently detects the test case pass/fail by seeing if the process crashes. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284064

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M content/shell/browser/shell_content_browser_client.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M content/shell/browser/webkit_test_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/webkit_test_controller.cc View 2 chunks +12 lines, -1 line 0 comments Download
M content/shell/common/shell_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/common/shell_switches.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kouhei (in TOK)
Would you take a look?
6 years, 5 months ago (2014-07-18 01:33:08 UTC) #1
jochen (gone - plz use gerrit)
lgtm
6 years, 5 months ago (2014-07-18 09:12:06 UTC) #2
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 5 months ago (2014-07-18 09:57:29 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/405433011/1
6 years, 5 months ago (2014-07-18 09:58:33 UTC) #4
kouhei (in TOK)
On 2014/07/18 09:12:06, jochen wrote: > lgtm Thanks for review!
6 years, 5 months ago (2014-07-18 10:00:44 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 12:09:37 UTC) #6
Message was sent while issue was closed.
Change committed as 284064

Powered by Google App Engine
This is Rietveld 408576698