build: add enable_remote_module build flag (#19821)
This commit is contained in:
parent
8bf74164e2
commit
11cd0db86b
32 changed files with 585 additions and 497 deletions
|
@ -1,9 +1,12 @@
|
|||
import { expect } from 'chai'
|
||||
import { closeWindow } from './window-helpers'
|
||||
import { ifdescribe } from './spec-helpers';
|
||||
|
||||
import { BrowserWindow } from 'electron'
|
||||
|
||||
describe('remote module', () => {
|
||||
const features = process.electronBinding('features')
|
||||
|
||||
ifdescribe(features.isRemoteModuleEnabled())('remote module', () => {
|
||||
let w = null as unknown as BrowserWindow
|
||||
before(async () => {
|
||||
w = new BrowserWindow({show: false, webPreferences: {nodeIntegration: true}})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue