feat: deprecate modules internally using remote.require in sandboxed renderer context (#15145)
This commit is contained in:
parent
d5d1fa8290
commit
d561c5531b
12 changed files with 71 additions and 8 deletions
|
@ -1,6 +1,7 @@
|
|||
const chai = require('chai')
|
||||
const dirtyChai = require('dirty-chai')
|
||||
const { desktopCapturer, remote, screen } = require('electron')
|
||||
const { desktopCapturer, remote } = require('electron')
|
||||
const { screen } = remote
|
||||
const features = process.atomBinding('features')
|
||||
|
||||
const { expect } = chai
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue