From 69b56c1ae9b3f5f241fdfae592e595bd7eaacc1e Mon Sep 17 00:00:00 2001 From: "ananta@chromium.org" Date: Thu, 25 Mar 2010 22:06:34 +0000 Subject: Add support for grabbing full dumps from chrome in ChromeFrame reliability test runs. This is only done if ChromeFrame is running in headless mode. Review URL: http://codereview.chromium.org/1346003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42677 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_frame_automation.cc | 5 +++++ chrome_frame/chrome_launcher.cc | 1 + 2 files changed, 6 insertions(+) (limited to 'chrome_frame') diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc index c56da82..2c5d238 100644 --- a/chrome_frame/chrome_frame_automation.cc +++ b/chrome_frame/chrome_frame_automation.cc @@ -266,6 +266,11 @@ void ProxyFactory::CreateProxy(ProxyFactory::ProxyCacheEntry* entry, command_line->AppendSwitch(switches::kEnableRendererAccessibility); + // In headless mode runs like reliability test runs we want full crash dumps + // from chrome. + if (IsHeadlessMode()) + command_line->AppendSwitch(switches::kFullMemoryCrashReport); + // Place the profile directory in // "\..\User Data\" if (!entry->profile_name.empty()) { diff --git a/chrome_frame/chrome_launcher.cc b/chrome_frame/chrome_launcher.cc index d786010..31d404e 100644 --- a/chrome_frame/chrome_launcher.cc +++ b/chrome_frame/chrome_launcher.cc @@ -28,6 +28,7 @@ const char* kAllowedSwitches[] = { switches::kNoFirstRun, switches::kUserDataDir, switches::kDisablePopupBlocking, + switches::kFullMemoryCrashReport, }; CommandLine* CreateLaunchCommandLine() { -- cgit v1.1