ports/devel/electron30/files/patch-electron_spec_api-utility-process-spec.ts
Hiroki Tagato 9d7e29a857 devel/electron30: update to 30.2.0
Changelog: https://github.com/electron/electron/releases/tag/v30.2.0

Reported by:	GitHub (watch releases)
MFH:		2024Q3
Security:	6410f91d-1214-4f92-b7e0-852e39e265f9
2024-07-16 18:19:33 +09:00

20 lines
1.2 KiB
TypeScript

--- electron/spec/api-utility-process-spec.ts.orig 2024-07-09 23:10:34 UTC
+++ electron/spec/api-utility-process-spec.ts
@@ -405,7 +405,7 @@ describe('utilityProcess module', () => {
expect(output).to.include(result);
});
- ifit(process.platform !== 'linux')('can access exposed main process modules from the utility process', async () => {
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('can access exposed main process modules from the utility process', async () => {
const message = 'Message from utility process';
const child = utilityProcess.fork(path.join(fixturesPath, 'expose-main-process-module.js'));
await once(child, 'spawn');
@@ -442,7 +442,7 @@ describe('utilityProcess module', () => {
await closeWindow(w);
});
- ifit(process.platform === 'linux')('allows executing a setuid binary with child_process', async () => {
+ ifit(process.platform === 'linux' || process.platform === 'freebsd')('allows executing a setuid binary with child_process', async () => {
const child = utilityProcess.fork(path.join(fixturesPath, 'suid.js'));
await once(child, 'spawn');
const [data] = await once(child, 'message');