summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_switches.cc
diff options
context:
space:
mode:
authorsgjesse@chromium.org <sgjesse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-20 07:46:08 +0000
committersgjesse@chromium.org <sgjesse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-20 07:46:08 +0000
commitb351289447215f8f9fda9077934d42ae72668a90 (patch)
treeea6328182679fa164e7f776a27dd636864475327 /webkit/tools/test_shell/test_shell_switches.cc
parent305d8c7eab56ac69d8451b47523c9e0bbcdfd8fa (diff)
downloadchromium_src-b351289447215f8f9fda9077934d42ae72668a90.zip
chromium_src-b351289447215f8f9fda9077934d42ae72668a90.tar.gz
chromium_src-b351289447215f8f9fda9077934d42ae72668a90.tar.bz2
Add option --gp-fault-error-box to test shell and run_webkit_tests.py to enable the Windows GP fault dialog. This makes it easier to start debugging the crash in Visual Studio.
Review URL: http://codereview.chromium.org/11273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_switches.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_switches.cc b/webkit/tools/test_shell/test_shell_switches.cc
index 5b9bb5f..9ee7e89 100644
--- a/webkit/tools/test_shell/test_shell_switches.cc
+++ b/webkit/tools/test_shell/test_shell_switches.cc
@@ -23,6 +23,10 @@ const wchar_t kTestShellTimeOut[] = L"time-out-ms";
const wchar_t kStartupDialog[] = L"testshell-startup-dialog";
+// Enable the Windows dialogs for GP faults in the test shell. This allows makes
+// it possible to attach a crashed test shell to a debugger.
+const wchar_t kGPFaultErrorBox[] = L"gp-fault-error-box";
+
// JavaScript flags passed to engine.
const wchar_t kJavaScriptFlags[] = L"js-flags";