ports/devel/electron34/files/patch-electron_spec_api-content-tracing-spec.ts
Hiroki Tagato 65178207cf devel/electron34: 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-03-14 18:46:06 +09:00

12 lines
734 B
TypeScript

--- electron/spec/api-content-tracing-spec.ts.orig 2024-10-09 13:53:06 UTC
+++ electron/spec/api-content-tracing-spec.ts
@@ -9,7 +9,7 @@ import { ifdescribe } from './lib/spec-helpers';
import { ifdescribe } from './lib/spec-helpers';
// FIXME: The tests are skipped on linux arm/arm64
-ifdescribe(!(['arm', 'arm64'].includes(process.arch)) || (process.platform !== 'linux'))('contentTracing', () => {
+ifdescribe(!(['arm', 'arm64'].includes(process.arch)) || (process.platform !== 'linux' && process.platform !== 'freebsd'))('contentTracing', () => {
const record = async (options: TraceConfig | TraceCategoriesAndOptions, outputFilePath: string | undefined, recordTimeInMilliseconds = 1e1) => {
await app.whenReady();