ports/devel/electron29/files/patch-electron_spec_node-spec.ts
Hiroki Tagato 0a7da2a732 devel/electron29: 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/
2024-04-14 18:06:26 +09:00

11 lines
743 B
TypeScript

--- electron/spec/node-spec.ts.orig 2024-01-31 15:12:32 UTC
+++ electron/spec/node-spec.ts
@@ -144,7 +144,7 @@ describe('node feature', () => {
});
describe('child_process.exec', () => {
- ifit(process.platform === 'linux')('allows executing a setuid binary from non-sandboxed renderer', async () => {
+ ifit(process.platform === 'linux' || process.platform === 'freebsd')('allows executing a setuid binary from non-sandboxed renderer', async () => {
// Chrome uses prctl(2) to set the NO_NEW_PRIVILEGES flag on Linux (see
// https://github.com/torvalds/linux/blob/40fde647cc/Documentation/userspace-api/no_new_privs.rst).
// We disable this for unsandboxed processes, which the renderer tests