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 Review URL: https://codereview.chromium.org/405433011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284064 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment