ports/devel/electron35/files/patch-electron_spec_api-utility-process-spec.ts
Hiroki Tagato 3fe2f64857 devel/electron35: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2025-04-08 21:01:02 +09:00

20 lines
1.2 KiB
TypeScript

--- electron/spec/api-utility-process-spec.ts.orig 2025-04-04 05:26:44 UTC
+++ electron/spec/api-utility-process-spec.ts
@@ -467,7 +467,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');
@@ -504,7 +504,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');