fix: oob string read when parsing node_options (#46210)

* fix: oob string read when parsing node_options

* chore: re-enable test

* fix: missing linux server env for tests
This commit is contained in:
Robo 2025-03-25 19:33:10 +09:00 committed by GitHub
parent cfada0347e
commit 307d4f94c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 51 additions and 9 deletions

View file

@ -705,9 +705,7 @@ describe('node feature', () => {
expect(code).to.equal(1);
});
// TODO(deepak1556): will be enabled in follow-up PR
// https://github.com/electron/electron/pull/46210
it.skip('does not allow --require in utility process of packaged apps', async () => {
it('does not allow --require in utility process of packaged apps', async () => {
const appPath = path.join(fixtures, 'apps', 'node-options-utility-process');
// App should exit with code 1.
const child = childProcess.spawn(process.execPath, [appPath], {