mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
test: bind to 127.0.0.1 in contextBridge spec (#23639)
This commit is contained in:
@@ -22,7 +22,7 @@ describe('contextBridge', () => {
|
||||
res.setHeader('Content-Type', 'text/html');
|
||||
res.end('');
|
||||
});
|
||||
await new Promise(resolve => server.listen(0, resolve));
|
||||
await new Promise(resolve => server.listen(0, '127.0.0.1', resolve));
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
|
||||
Reference in New Issue
Block a user