Skip to content

Commit

Permalink
Enable sandbox for issue reporter and process explorer (fix #101834)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Nov 25, 2020
1 parent 1460908 commit 53df32f
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions src/vs/platform/issue/electron-main/issueMainService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,18 +203,8 @@ export class IssueMainService implements ICommonIssueService {
spellcheck: false,
nativeWindowOpen: true,
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel),
...this.environmentService.sandbox ?

// Sandbox
{
sandbox: true,
contextIsolation: true
} :

// No Sandbox
{
nodeIntegration: true
}
sandbox: true,
contextIsolation: true
}
});

Expand Down Expand Up @@ -269,18 +259,8 @@ export class IssueMainService implements ICommonIssueService {
spellcheck: false,
nativeWindowOpen: true,
zoomFactor: zoomLevelToZoomFactor(data.zoomLevel),
...this.environmentService.sandbox ?

// Sandbox
{
sandbox: true,
contextIsolation: true
} :

// No Sandbox
{
nodeIntegration: true
}
sandbox: true,
contextIsolation: true
}
});

Expand Down

0 comments on commit 53df32f

Please sign in to comment.