diff --git sandbox/policy/win/sandbox_win.cc sandbox/policy/win/sandbox_win.cc index eef1a60d348e..eabb92072c2c 100644 --- sandbox/policy/win/sandbox_win.cc +++ sandbox/policy/win/sandbox_win.cc @@ -1003,8 +1003,11 @@ ResultCode SandboxWin::StartSandboxedProcess( } // TODO(wfh): Relax strict handle checks for network process until root cause // for this crash can be resolved. See https://crbug.com/939590. - if (sandbox_type != SandboxType::kNetwork) + if (!launcher_process_command_line.HasSwitch("win-rt-app") && + sandbox_type != SandboxType::kNetwork) { + // Don't enable this mitigation in WinRT apps. See issue #2274. mitigations |= MITIGATION_STRICT_HANDLE_CHECKS; + } result = policy->SetDelayedProcessMitigations(mitigations); if (result != SBOX_ALL_OK)