fix: do not reset process_id in URLLoaderFactoryParams (#25139)
This commit is contained in:
parent
95073decd3
commit
8f727b3569
2 changed files with 12 additions and 9 deletions
|
@ -245,6 +245,14 @@ describe('web security', () => {
|
|||
<script src="${serverUrl}"></script>`);
|
||||
await p;
|
||||
});
|
||||
|
||||
it('does not crash when multiple WebContent are created with web security disabled', () => {
|
||||
const options = { webPreferences: { webSecurity: false } };
|
||||
const w1 = new BrowserWindow(options);
|
||||
w1.loadURL(serverUrl);
|
||||
const w2 = new BrowserWindow(options);
|
||||
w2.loadURL(serverUrl);
|
||||
});
|
||||
});
|
||||
|
||||
describe('command line switches', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue