diff options
-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() { |