feat: support node:
prefixed requires in sandboxed renderer preloads (#38567)
feat: support node: prefixed requires in sandboxed renderer preloads
This commit is contained in:
parent
fd5e6fbc14
commit
5d123765d9
4 changed files with 17 additions and 2 deletions
|
@ -3714,6 +3714,9 @@ describe('BrowserWindow module', () => {
|
|||
expect(test.version).to.equal(process.version);
|
||||
expect(test.versions).to.deep.equal(process.versions);
|
||||
expect(test.contextId).to.be.a('string');
|
||||
expect(test.nodeEvents).to.equal(true);
|
||||
expect(test.nodeTimers).to.equal(true);
|
||||
expect(test.nodeUrl).to.equal(true);
|
||||
|
||||
if (process.platform === 'linux' && test.osSandbox) {
|
||||
expect(test.creationTime).to.be.null('creation time');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue