diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron39/files/patch-electron_spec_api-utility-process-spec.ts | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron39/files/patch-electron_spec_api-utility-process-spec.ts')
| -rw-r--r-- | devel/electron39/files/patch-electron_spec_api-utility-process-spec.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-electron_spec_api-utility-process-spec.ts b/devel/electron39/files/patch-electron_spec_api-utility-process-spec.ts new file mode 100644 index 000000000000..ef027ac5f72f --- /dev/null +++ b/devel/electron39/files/patch-electron_spec_api-utility-process-spec.ts @@ -0,0 +1,20 @@ +--- electron/spec/api-utility-process-spec.ts.orig 2025-08-13 14:21:20 UTC ++++ electron/spec/api-utility-process-spec.ts +@@ -522,7 +522,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'); +@@ -559,7 +559,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'); |
