Merge pull request #120002 from microsoft/tyriar/terminal_sandbox

electron-sandbox refactors for terminal
This commit is contained in:
Daniel Imms
2021-03-29 16:47:00 -07:00
committed by GitHub
6 changed files with 90 additions and 85 deletions

View File

@@ -23,7 +23,7 @@ import { assertNoRpc } from '../utils';
// Disable exit alerts as tests may trigger then and we're not testing the notifications
await config.update('showExitAlert', false, ConfigurationTarget.Global);
// Canvas may cause problems when running in a container
await config.update('gpuAcceleration', 'off', ConfigurationTarget.Global);
await config.update('rendererType', 'off', ConfigurationTarget.Global);
// Disable env var relaunch for tests to prevent terminals relaunching themselves
await config.update('environmentChangesRelaunch', false, ConfigurationTarget.Global);
});