Turn Chrome Crash collection back on.
Revert "Revert "Turn on collection of Chrome crashes again.""
This reverts commit 2165ae169273ec1742d270cfdc8be33922372907.
BUG=chromium:527144
TEST=None
Change-Id: I947b2db642013bef148540f5634e079e1113bbe6
Reviewed-on: https://chromium-review.googlesource.com/299330
Commit-Ready: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
diff --git a/client/common_lib/cros/chrome.py b/client/common_lib/cros/chrome.py
index 66213f1..e6315c6 100644
--- a/client/common_lib/cros/chrome.py
+++ b/client/common_lib/cros/chrome.py
@@ -4,6 +4,7 @@
import logging, os
+from autotest_lib.client.cros import constants
from autotest_lib.client.bin import utils
from telemetry.core import cros_interface, exceptions, util
from telemetry.internal.browser import browser_finder, browser_options
@@ -96,10 +97,9 @@
b_options.username = self.username
b_options.password = self.password
- # TODO(dgarrett): Reenable, crbug.com/527144
# Turn on collection of Chrome coredumps via creation of a magic file.
# (Without this, Chrome coredumps are trashed.)
- # open(constants.CHROME_CORE_MAGIC_FILE, 'w').close()
+ open(constants.CHROME_CORE_MAGIC_FILE, 'w').close()
for i in range(num_tries):
try: