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
|
@ -93,9 +93,7 @@ if (process.platform === 'linux') {
|
|||
}
|
||||
|
||||
app.allowNTLMCredentialsForAllDomains = function (allow) {
|
||||
if (!process.noDeprecation) {
|
||||
deprecate.warn('app.allowNTLMCredentialsForAllDomains', 'session.allowNTLMCredentialsForDomains')
|
||||
}
|
||||
deprecate.warn('app.allowNTLMCredentialsForAllDomains', 'session.allowNTLMCredentialsForDomains')
|
||||
const domains = allow ? '*' : ''
|
||||
if (!this.isReady()) {
|
||||
this.commandLine.appendSwitch('auth-server-whitelist', domains)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue