fix: don't expose desktopCapturer in sandboxed renderers if the feature is disabled (#14310)
This commit is contained in:
parent
a43a292d18
commit
f1fe485768
4 changed files with 60 additions and 50 deletions
|
@ -438,8 +438,8 @@ ipcMain.on('ELECTRON_BROWSER_SANDBOX_LOAD', function (event) {
|
|||
}
|
||||
}
|
||||
event.returnValue = {
|
||||
preloadSrc: preloadSrc,
|
||||
preloadError: preloadError,
|
||||
preloadSrc,
|
||||
preloadError,
|
||||
process: {
|
||||
arch: process.arch,
|
||||
platform: process.platform,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue