aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron39/files/patch-electron_spec_api-content-tracing-spec.ts
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron39/files/patch-electron_spec_api-content-tracing-spec.ts
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron39/files/patch-electron_spec_api-content-tracing-spec.ts')
-rw-r--r--devel/electron39/files/patch-electron_spec_api-content-tracing-spec.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-electron_spec_api-content-tracing-spec.ts b/devel/electron39/files/patch-electron_spec_api-content-tracing-spec.ts
new file mode 100644
index 000000000000..c54661107ec1
--- /dev/null
+++ b/devel/electron39/files/patch-electron_spec_api-content-tracing-spec.ts
@@ -0,0 +1,20 @@
+--- electron/spec/api-content-tracing-spec.ts.orig 2025-04-04 05:26:44 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();
+
+@@ -91,7 +91,7 @@ ifdescribe(!(['arm', 'arm64'].includes(process.arch))
+ });
+ });
+
+- ifdescribe(process.platform !== 'linux')('stopRecording', function () {
++ ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('stopRecording', function () {
+ if (process.platform === 'win32' && process.arch === 'arm64') {
+ // WOA needs more time
+ this.timeout(10e3);