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/electron35/files/patch-electron_spec_api-desktop-capturer-spec.ts | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron35/files/patch-electron_spec_api-desktop-capturer-spec.ts')
| -rw-r--r-- | devel/electron35/files/patch-electron_spec_api-desktop-capturer-spec.ts | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/devel/electron35/files/patch-electron_spec_api-desktop-capturer-spec.ts b/devel/electron35/files/patch-electron_spec_api-desktop-capturer-spec.ts deleted file mode 100644 index 5431741e212b..000000000000 --- a/devel/electron35/files/patch-electron_spec_api-desktop-capturer-spec.ts +++ /dev/null @@ -1,47 +0,0 @@ ---- electron/spec/api-desktop-capturer-spec.ts.orig 2025-05-27 20:59:13 UTC -+++ electron/spec/api-desktop-capturer-spec.ts -@@ -45,7 +45,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl - }); - - // Linux doesn't return any window sources. -- ifit(process.platform !== 'linux')('returns an empty display_id for window sources', async () => { -+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('returns an empty display_id for window sources', async () => { - const w = new BrowserWindow({ width: 200, height: 200 }); - await w.loadURL('about:blank'); - -@@ -57,7 +57,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl - } - }); - -- ifit(process.platform !== 'linux')('returns display_ids matching the Screen API', async () => { -+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('returns display_ids matching the Screen API', async () => { - const displays = screen.getAllDisplays(); - const sources = await desktopCapturer.getSources({ types: ['screen'] }); - expect(sources).to.be.an('array').of.length(displays.length); -@@ -118,7 +118,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl - // TODO(julien.isorce): investigate why |sources| is empty on the linux - // bots while it is not on my workstation, as expected, with and without - // the --ci parameter. -- if (process.platform === 'linux' && sources.length === 0) { -+ if ((process.platform === 'linux' || process.platform === 'freebsd') && sources.length === 0) { - this.skip(); - return; - } -@@ -154,7 +154,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl - // TODO(julien.isorce): investigate why |sources| is empty on the linux - // bots while it is not on my workstation, as expected, with and without - // the --ci parameter. -- if (process.platform === 'linux' && sources.length === 0) { -+ if ((process.platform === 'linux' || process.platform === 'freebsd') && sources.length === 0) { - this.skip(); - return; - } -@@ -223,7 +223,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl - // TODO(julien.isorce): investigate why |sources| is empty on the linux - // bots while it is not on my workstation, as expected, with and without - // the --ci parameter. -- if (process.platform === 'linux' && sources.length === 0) { -+ if ((process.platform === 'linux' || process.platform === 'freebsd') && sources.length === 0) { - destroyWindows(); - this.skip(); - return; |
