Use RenderProcessPreferences for non-remote web contents
This commit is contained in:
parent
9223019af8
commit
f25c1f864b
5 changed files with 16 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
const {app, ipcMain, session, webContents, BrowserWindow} = require('electron')
|
||||
const {getAllWebContents} = process.atomBinding('web_contents')
|
||||
const renderProcessPreferences = process.atomBinding('render_process_preferences').forAllBrowserWindow()
|
||||
const renderProcessPreferences = process.atomBinding('render_process_preferences').forAllWebContents()
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue