Commit 8a7ab50c authored by Peter Kvitek's avatar Peter Kvitek Committed by Commit Bot

[headless_tests OS_WIN] Added kNoSandbox switch to headless tests.

Adding this flag prevents sandbox_type.cc complaining about valid
sandbox configuration missing in a command line.

Change-Id: I076aaf51411c187e36f3b08f6eb5e50199b2b804
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2446656
Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Auto-Submit: Peter Kvitek <kvitekp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813429}
parent 4f250864
...@@ -231,6 +231,7 @@ bool HeadlessContentMainDelegate::BasicStartupComplete(int* exit_code) { ...@@ -231,6 +231,7 @@ bool HeadlessContentMainDelegate::BasicStartupComplete(int* exit_code) {
command_line->AppendSwitch(::blink::switches::kAllowPreCommitInput); command_line->AppendSwitch(::blink::switches::kAllowPreCommitInput);
#if defined(OS_WIN) #if defined(OS_WIN)
command_line->AppendSwitch(sandbox::policy::switches::kNoSandbox);
command_line->AppendSwitch( command_line->AppendSwitch(
::switches::kDisableGpuProcessForDX12InfoCollection); ::switches::kDisableGpuProcessForDX12InfoCollection);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment