fix: oob string read when parsing node_options (#46247)
* fix: oob string read when parsing node_options Co-authored-by: deepak1556 <hop2deep@gmail.com> * chore: re-enable test Co-authored-by: deepak1556 <hop2deep@gmail.com> * fix: missing linux server env for tests Co-authored-by: deepak1556 <hop2deep@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
7ee88bbdcb
commit
6f3c9fcf99
7 changed files with 51 additions and 9 deletions
|
@ -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], {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue