chore: rename process.contextIsolation to process.contextIsolated (#28259)
* chore: rename process.contextIsolation to process.contextIsolated * thing
This commit is contained in:
parent
4057e6b56e
commit
f35fc93080
5 changed files with 7 additions and 7 deletions
|
@ -2487,7 +2487,7 @@ describe('BrowserWindow module', () => {
|
|||
expect(test.env).to.deep.equal(process.env);
|
||||
expect(test.execPath).to.equal(process.helperExecPath);
|
||||
expect(test.sandboxed).to.be.true('sandboxed');
|
||||
expect(test.contextIsolation).to.be.false('contextIsolation');
|
||||
expect(test.contextIsolated).to.be.false('contextIsolated');
|
||||
expect(test.type).to.equal('renderer');
|
||||
expect(test.version).to.equal(process.version);
|
||||
expect(test.versions).to.deep.equal(process.versions);
|
||||
|
@ -4306,7 +4306,7 @@ describe('BrowserWindow module', () => {
|
|||
const [, data] = await p;
|
||||
expect(data.pageContext.openedLocation).to.equal('about:blank');
|
||||
});
|
||||
it('reports process.contextIsolation', async () => {
|
||||
it('reports process.contextIsolated', async () => {
|
||||
const iw = new BrowserWindow({
|
||||
show: false,
|
||||
webPreferences: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue