diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-25 22:06:34 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-25 22:06:34 +0000 |
commit | 69b56c1ae9b3f5f241fdfae592e595bd7eaacc1e (patch) | |
tree | fb291bf508edd640d845b091af27651d39744315 /chrome_frame | |
parent | 182d282be2404bc4522e2c04df6bb131ce0d6a9e (diff) | |
download | chromium_src-69b56c1ae9b3f5f241fdfae592e595bd7eaacc1e.zip chromium_src-69b56c1ae9b3f5f241fdfae592e595bd7eaacc1e.tar.gz chromium_src-69b56c1ae9b3f5f241fdfae592e595bd7eaacc1e.tar.bz2 |
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
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/chrome_frame_automation.cc | 5 | ||||
-rw-r--r-- | chrome_frame/chrome_launcher.cc | 1 |
2 files changed, 6 insertions, 0 deletions
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 // "<chrome_exe_path>\..\User Data\<profile-name>" 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() { |