git: 9f1bd1f8edc3 - main - devel/electron42: Update to 42.11.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Sep 2026 17:15:15 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9f1bd1f8edc3b78df9792c2391e46fd799812047
commit 9f1bd1f8edc3b78df9792c2391e46fd799812047
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-09-09 17:12:40 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-09-09 17:14:44 +0000
devel/electron42: Update to 42.11.3
Changelog: https://github.com/electron/electron/releases/tag/v42.11.3
Reported by: GitHub (watch releases)
---
devel/electron42/Makefile | 1 -
devel/electron42/Makefile.version | 2 +-
devel/electron42/distinfo | 14 ++++----
devel/electron42/files/patch-electron_BUILD.gn | 19 +++++++---
.../files/patch-electron_lib_browser_rpc-server.ts | 4 +--
...ell_browser_api_electron__api__web__contents.cc | 16 ++++-----
.../patch-electron_shell_common_node__bindings.cc | 10 +++---
.../patch-electron_spec_api-browser-window-spec.ts | 42 +++++++++++-----------
.../files/patch-electron_spec_api-process-spec.ts | 15 ++++++--
.../patch-electron_spec_api-web-contents-spec.ts | 6 ++--
.../files/patch-electron_spec_chromium-spec.ts | 8 ++---
11 files changed, 77 insertions(+), 60 deletions(-)
diff --git a/devel/electron42/Makefile b/devel/electron42/Makefile
index 06ab534695b7..81c6a63b2125 100644
--- a/devel/electron42/Makefile
+++ b/devel/electron42/Makefile
@@ -1,7 +1,6 @@
PORTNAME= electron
DISTVERSIONPREFIX= v
DISTVERSION= ${ELECTRON_VER}
-PORTREVISION= 2
PULSEMV= 16
PULSEV= ${PULSEMV}.1
CATEGORIES= devel
diff --git a/devel/electron42/Makefile.version b/devel/electron42/Makefile.version
index 3e39cd3e9154..5e1fd838d73e 100644
--- a/devel/electron42/Makefile.version
+++ b/devel/electron42/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER= 42.11.2
+ELECTRON_VER= 42.11.3
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron42/distinfo b/devel/electron42/distinfo
index 82dddbf10a6c..40fb2427fa42 100644
--- a/devel/electron42/distinfo
+++ b/devel/electron42/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1788497850
+TIMESTAMP = 1788931018
SHA256 (electron/chromium-148.0.7778.280.tar.xz.0) = cddbfeba5a50d950693590399df8df3a8ef5910eee367c76aec2541444c59dea
SIZE (electron/chromium-148.0.7778.280.tar.xz.0) = 2000000000
SHA256 (electron/chromium-148.0.7778.280.tar.xz.1) = cd2f2c3740c05eb549878ab6c6571f7858456c2c56cf798e60ffbaf7e651429f
@@ -341,12 +341,12 @@ SHA256 (electron/rust/crates/zerocopy-derive-0.7.35.crate) = fa4f8080344d4671fb4
SIZE (electron/rust/crates/zerocopy-derive-0.7.35.crate) = 37829
SHA256 (electron/yarn-4.12.0.tgz) = bd58d06826ce9542c4cd904fe10bab7bc718ea2cc39a45d9fbd15f2edb45761c
SIZE (electron/yarn-4.12.0.tgz) = 1056794
-SHA256 (electron/electron42-42.11.2-node-modules-arm64.tar.xz) = 1d192bd39ea7e334470a20aaf2bb2daa5b7c11404720f3699124245b42885a0b
-SIZE (electron/electron42-42.11.2-node-modules-arm64.tar.xz) = 63424856
-SHA256 (electron/electron42-42.11.2-node-modules-x64.tar.xz) = fc5adf099f9624935944b4a90cd22a88246dc958c0248cd995e228e21f568beb
-SIZE (electron/electron42-42.11.2-node-modules-x64.tar.xz) = 71935293
-SHA256 (electron/electron-electron-v42.11.2_GH0.tar.gz) = 6a72495b401cd50437df7050437ca0fc661f6374f871eabed8e4a614f5696987
-SIZE (electron/electron-electron-v42.11.2_GH0.tar.gz) = 20142755
+SHA256 (electron/electron42-42.11.3-node-modules-arm64.tar.xz) = 1d192bd39ea7e334470a20aaf2bb2daa5b7c11404720f3699124245b42885a0b
+SIZE (electron/electron42-42.11.3-node-modules-arm64.tar.xz) = 63424856
+SHA256 (electron/electron42-42.11.3-node-modules-x64.tar.xz) = fc5adf099f9624935944b4a90cd22a88246dc958c0248cd995e228e21f568beb
+SIZE (electron/electron42-42.11.3-node-modules-x64.tar.xz) = 71935293
+SHA256 (electron/electron-electron-v42.11.3_GH0.tar.gz) = e00ae52c4a51e4477b15a4d18dc9a020121803774ea3a8468dc6b324035cef3d
+SIZE (electron/electron-electron-v42.11.3_GH0.tar.gz) = 20186019
SHA256 (electron/nodejs-node-v24.19.0_GH0.tar.gz) = f06a13587eab05e24972f39628559a942a495f7140b702ce87d79454e2925bb3
SIZE (electron/nodejs-node-v24.19.0_GH0.tar.gz) = 127452601
SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3
diff --git a/devel/electron42/files/patch-electron_BUILD.gn b/devel/electron42/files/patch-electron_BUILD.gn
index 518870d315ec..b5afe493740d 100644
--- a/devel/electron42/files/patch-electron_BUILD.gn
+++ b/devel/electron42/files/patch-electron_BUILD.gn
@@ -1,4 +1,4 @@
---- electron/BUILD.gn.orig 2026-08-24 01:09:19 UTC
+--- electron/BUILD.gn.orig 2026-09-08 07:41:45 UTC
+++ electron/BUILD.gn
@@ -610,7 +610,7 @@ source_set("electron_lib") {
defines += [ "GDK_DISABLE_DEPRECATION_WARNINGS" ]
@@ -22,7 +22,16 @@
if (is_linux) {
libs = [ "xshmfence" ]
deps += [
-@@ -1528,7 +1534,7 @@ if (is_mac) {
+@@ -1533,7 +1539,7 @@ if (is_mac) {
+ } else if (is_linux) {
+ sources = [
+ "shell/app/electron_main_linux.cc",
+- "shell/app/environ_linux.cc",
++ # "shell/app/environ_linux.cc",
+ "shell/app/uv_stdio_fix.cc",
+ "shell/app/uv_stdio_fix.h",
+ ]
+@@ -1545,7 +1551,7 @@ if (is_mac) {
":electron_lib",
":electron_win32_resources",
":packed_resources",
@@ -31,7 +40,7 @@
"//content:sandbox_helper_win",
"//electron/buildflags",
"//third_party/electron_node:libnode",
-@@ -1555,7 +1561,7 @@ if (is_mac) {
+@@ -1572,7 +1578,7 @@ if (is_mac) {
public_deps = [ "//tools/v8_context_snapshot" ]
}
@@ -40,7 +49,7 @@
data_deps += [ "//components/crash/core/app:chrome_crashpad_handler" ]
}
-@@ -1622,7 +1628,7 @@ if (is_mac) {
+@@ -1639,7 +1645,7 @@ if (is_mac) {
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
}
@@ -49,7 +58,7 @@
deps += [ "//sandbox/linux:chrome_sandbox" ]
}
}
-@@ -1743,7 +1749,9 @@ dist_zip("electron_dist_zip") {
+@@ -1760,7 +1766,9 @@ dist_zip("electron_dist_zip") {
]
}
diff --git a/devel/electron42/files/patch-electron_lib_browser_rpc-server.ts b/devel/electron42/files/patch-electron_lib_browser_rpc-server.ts
index e2440444288b..9302891dc8d4 100644
--- a/devel/electron42/files/patch-electron_lib_browser_rpc-server.ts
+++ b/devel/electron42/files/patch-electron_lib_browser_rpc-server.ts
@@ -1,6 +1,6 @@
---- electron/lib/browser/rpc-server.ts.orig 2026-06-03 19:18:10 UTC
+--- electron/lib/browser/rpc-server.ts.orig 2026-09-08 07:41:45 UTC
+++ electron/lib/browser/rpc-server.ts
-@@ -33,7 +33,7 @@ const allowedClipboardMethods = (() => {
+@@ -38,7 +38,7 @@ const allowedClipboardMethods = (() => {
switch (process.platform) {
case 'darwin':
return new Set(['readFindText', 'writeFindText']);
diff --git a/devel/electron42/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron42/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
index 726c4178dca8..46cfdf874a01 100644
--- a/devel/electron42/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+++ b/devel/electron42/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-08-25 19:06:16 UTC
+--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-09-08 07:41:45 UTC
+++ electron/shell/browser/api/electron_api_web_contents.cc
-@@ -182,11 +182,11 @@
+@@ -184,11 +184,11 @@
#include "ui/base/cocoa/defaults_utils.h"
#endif
@@ -14,7 +14,7 @@
#include "ui/aura/window.h"
#include "ui/gfx/font_render_params.h"
#endif
-@@ -216,7 +216,7 @@
+@@ -218,7 +218,7 @@
#include "content/public/browser/plugin_service.h"
#endif
@@ -23,7 +23,7 @@
#include "chrome/browser/hang_monitor/hang_crash_dump.h" // nogncheck
#endif
-@@ -639,7 +639,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
+@@ -641,7 +641,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
ui::TextInsertionCaretBlinkPeriodFromDefaults());
if (system_value)
return *system_value;
@@ -32,7 +32,7 @@
if (auto* native_theme = ui::NativeTheme::GetInstanceForNativeUi())
return native_theme->caret_blink_interval();
#elif BUILDFLAG(IS_WIN)
-@@ -1036,7 +1036,7 @@ void WebContents::InitWithSessionAndOptions(
+@@ -1038,7 +1038,7 @@ void WebContents::InitWithSessionAndOptions(
accept_languages.pop_back();
prefs->accept_languages = accept_languages;
@@ -41,7 +41,7 @@
// Update font settings.
static const gfx::FontRenderParams params(
gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
-@@ -3071,13 +3071,13 @@ void WebContents::ForcefullyCrashRenderer() {
+@@ -3110,13 +3110,13 @@ void WebContents::ForcefullyCrashRenderer() {
content::RenderProcessHost* rph = rwh->GetProcess();
if (rph) {
@@ -57,7 +57,7 @@
CrashDumpHungChildProcess(rph->GetProcess().Handle());
#endif
rph->Shutdown(content::RESULT_CODE_HUNG);
-@@ -3714,7 +3714,7 @@ void WebContents::Focus() {
+@@ -3753,7 +3753,7 @@ void WebContents::Focus() {
void WebContents::Focus() {
// Focusing on WebContents does not automatically focus the window on macOS
// and Linux, do it manually to match the behavior on Windows.
@@ -66,7 +66,7 @@
if (owner_window())
owner_window()->Focus(true);
#endif
-@@ -4615,7 +4615,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -4667,7 +4667,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
}
#endif
diff --git a/devel/electron42/files/patch-electron_shell_common_node__bindings.cc b/devel/electron42/files/patch-electron_shell_common_node__bindings.cc
index 6b5341d86040..f921b6b73619 100644
--- a/devel/electron42/files/patch-electron_shell_common_node__bindings.cc
+++ b/devel/electron42/files/patch-electron_shell_common_node__bindings.cc
@@ -1,6 +1,6 @@
---- electron/shell/common/node_bindings.cc.orig 2026-08-24 01:09:19 UTC
+--- electron/shell/common/node_bindings.cc.orig 2026-09-08 07:41:45 UTC
+++ electron/shell/common/node_bindings.cc
-@@ -55,7 +55,7 @@
+@@ -57,7 +57,7 @@
#include "third_party/electron_node/src/node_snapshot_builder.h"
#include "v8/include/v8-statistics.h"
@@ -9,7 +9,7 @@
#include "shell/common/crash_keys.h"
#include "shell/common/v8_oom_diagnostics.h"
#endif
-@@ -173,7 +173,7 @@ void V8FatalErrorCallback(const char* location, const
+@@ -175,7 +175,7 @@ void V8FatalErrorCallback(const char* location, const
void V8FatalErrorCallback(const char* location, const char* message) {
LOG(ERROR) << "Fatal error in V8: " << location << " " << message;
@@ -18,7 +18,7 @@
electron::crash_keys::SetCrashKey("electron.v8-fatal.message", message);
electron::crash_keys::SetCrashKey("electron.v8-fatal.location", location);
#endif
-@@ -195,7 +195,7 @@ void V8OOMErrorCallback(const char* location, const v8
+@@ -197,7 +197,7 @@ void V8OOMErrorCallback(const char* location, const v8
LOG(ERROR) << "OOM detail: " << details.detail;
}
@@ -27,7 +27,7 @@
// TryGetCurrent() instead of GetCurrent() to avoid FATAL if no isolate.
v8::Isolate* isolate = v8::Isolate::TryGetCurrent();
electron::v8_oom::RecordErrorDetails(isolate, location, details);
-@@ -649,7 +649,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola
+@@ -651,7 +651,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola
TRACE_EVENT0("electron", "NodeBindings::Initialize");
// Open node's error reporting system for browser process.
diff --git a/devel/electron42/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron42/files/patch-electron_spec_api-browser-window-spec.ts
index 7afeaab38535..1c6451892ec2 100644
--- a/devel/electron42/files/patch-electron_spec_api-browser-window-spec.ts
+++ b/devel/electron42/files/patch-electron_spec_api-browser-window-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-browser-window-spec.ts.orig 2026-08-24 01:09:19 UTC
+--- electron/spec/api-browser-window-spec.ts.orig 2026-09-08 07:41:45 UTC
+++ electron/spec/api-browser-window-spec.ts
@@ -100,7 +100,7 @@ describe('BrowserWindow module', () => {
}).not.to.throw();
@@ -9,7 +9,7 @@
const appPath = path.join(fixtures, 'apps', 'xwindow-icon');
const appProcess = childProcess.spawn(process.execPath, [appPath]);
await once(appProcess, 'exit');
-@@ -365,7 +365,7 @@ describe('BrowserWindow module', () => {
+@@ -395,7 +395,7 @@ describe('BrowserWindow module', () => {
});
});
@@ -18,7 +18,7 @@
afterEach(closeAllWindows);
it('can set content protection', async () => {
const w = new BrowserWindow({ show: false });
-@@ -1354,7 +1354,7 @@ describe('BrowserWindow module', () => {
+@@ -1384,7 +1384,7 @@ describe('BrowserWindow module', () => {
describe('BrowserWindow.minimize()', () => {
// TODO(codebytere): Enable for Linux once maximize/minimize events work in CI.
@@ -27,7 +27,7 @@
const minimize = once(w, 'minimize');
w.minimize();
await minimize;
-@@ -1371,7 +1371,7 @@ describe('BrowserWindow module', () => {
+@@ -1401,7 +1401,7 @@ describe('BrowserWindow module', () => {
});
// TODO(dsanders11): Enable for Linux once CI plays nice with these kinds of tests
@@ -36,7 +36,7 @@
const maximize = once(w, 'maximize');
const shown = once(w, 'show');
w.maximize();
-@@ -1436,7 +1436,7 @@ describe('BrowserWindow module', () => {
+@@ -1466,7 +1466,7 @@ describe('BrowserWindow module', () => {
expect(w.isFocused()).to.equal(true);
});
@@ -45,7 +45,7 @@
const w1 = new BrowserWindow({ show: false });
const w2 = new BrowserWindow({ show: false });
const w3 = new BrowserWindow({ show: false });
-@@ -1539,7 +1539,7 @@ describe('BrowserWindow module', () => {
+@@ -1571,7 +1571,7 @@ describe('BrowserWindow module', () => {
expect(w.isFocused()).to.equal(false);
});
@@ -54,7 +54,7 @@
const w1 = new BrowserWindow({ show: false });
const w2 = new BrowserWindow({ show: false });
const w3 = new BrowserWindow({ show: false });
-@@ -2089,7 +2089,7 @@ describe('BrowserWindow module', () => {
+@@ -2121,7 +2121,7 @@ describe('BrowserWindow module', () => {
});
});
@@ -63,7 +63,7 @@
it('checks normal bounds when maximized', async () => {
const bounds = w.getBounds();
const maximize = once(w, 'maximize');
-@@ -2307,7 +2307,7 @@ describe('BrowserWindow module', () => {
+@@ -2339,7 +2339,7 @@ describe('BrowserWindow module', () => {
});
});
@@ -72,7 +72,7 @@
it('checks normal bounds when minimized', async () => {
const bounds = w.getBounds();
const minimize = once(w, 'minimize');
-@@ -3415,7 +3415,7 @@ describe('BrowserWindow module', () => {
+@@ -3447,7 +3447,7 @@ describe('BrowserWindow module', () => {
describe('BrowserWindow.setOpacity(opacity)', () => {
afterEach(closeAllWindows);
@@ -81,7 +81,7 @@
it('make window with initial opacity', () => {
const w = new BrowserWindow({ show: false, opacity: 0.5 });
expect(w.getOpacity()).to.equal(0.5);
-@@ -3441,7 +3441,7 @@ describe('BrowserWindow module', () => {
+@@ -3473,7 +3473,7 @@ describe('BrowserWindow module', () => {
});
});
@@ -90,7 +90,7 @@
it('sets 1 regardless of parameter', () => {
const w = new BrowserWindow({ show: false });
w.setOpacity(0);
-@@ -3681,7 +3681,7 @@ describe('BrowserWindow module', () => {
+@@ -3713,7 +3713,7 @@ describe('BrowserWindow module', () => {
expect(overlayRectPreMax.height).to.equal(size);
// 'maximize' event is not emitted on Linux in CI.
@@ -99,7 +99,7 @@
const maximize = once(w, 'maximize');
w.show();
w.maximize();
-@@ -3748,7 +3748,7 @@ describe('BrowserWindow module', () => {
+@@ -3780,7 +3780,7 @@ describe('BrowserWindow module', () => {
expect(preMaxHeight).to.equal(size);
// 'maximize' event is not emitted on Linux in CI.
@@ -108,7 +108,7 @@
const maximize = once(w, 'maximize');
w.show();
w.maximize();
-@@ -4750,7 +4750,7 @@ describe('BrowserWindow module', () => {
+@@ -4855,7 +4855,7 @@ describe('BrowserWindow module', () => {
expect(test.nodeTimers).to.equal(true);
expect(test.nodeUrl).to.equal(true);
@@ -117,7 +117,7 @@
expect(test.creationTime).to.be.null('creation time');
expect(test.systemMemoryInfo).to.be.null('system memory info');
} else {
-@@ -5266,7 +5266,7 @@ describe('BrowserWindow module', () => {
+@@ -5371,7 +5371,7 @@ describe('BrowserWindow module', () => {
});
});
@@ -126,7 +126,7 @@
afterEach(closeAllWindows);
it('emits an event when window is maximized', async () => {
const w = new BrowserWindow({ show: false });
-@@ -5542,7 +5542,7 @@ describe('BrowserWindow module', () => {
+@@ -5647,7 +5647,7 @@ describe('BrowserWindow module', () => {
// TODO(zcbenz):
// This test does not run on Linux CI. See:
// https://github.com/electron/electron/issues/28699
@@ -135,7 +135,7 @@
'should bring a minimized maximized window back to maximized state',
async () => {
const w = new BrowserWindow({});
-@@ -5560,7 +5560,7 @@ describe('BrowserWindow module', () => {
+@@ -5665,7 +5665,7 @@ describe('BrowserWindow module', () => {
}
);
@@ -144,7 +144,7 @@
const w = new BrowserWindow({ show: false });
w.show();
-@@ -5583,7 +5583,7 @@ describe('BrowserWindow module', () => {
+@@ -5688,7 +5688,7 @@ describe('BrowserWindow module', () => {
});
// TODO(dsanders11): Enable once maximize event works on Linux again on CI
@@ -153,7 +153,7 @@
afterEach(closeAllWindows);
it('should show the window if it is not currently shown', async () => {
const w = new BrowserWindow({ show: false });
-@@ -5620,7 +5620,7 @@ describe('BrowserWindow module', () => {
+@@ -5725,7 +5725,7 @@ describe('BrowserWindow module', () => {
// TODO(dsanders11): Enable once minimize event works on Linux again.
// See https://github.com/electron/electron/issues/28699
@@ -162,7 +162,7 @@
const w = new BrowserWindow();
const minimize = once(w, 'minimize');
w.minimize();
-@@ -6118,7 +6118,7 @@ describe('BrowserWindow module', () => {
+@@ -6223,7 +6223,7 @@ describe('BrowserWindow module', () => {
});
// On Linux there is no "resizable" property of a window.
@@ -171,7 +171,7 @@
const w = new BrowserWindow({ show: false });
expect(w.resizable).to.be.true('resizable');
-@@ -6359,7 +6359,7 @@ describe('BrowserWindow module', () => {
+@@ -6464,7 +6464,7 @@ describe('BrowserWindow module', () => {
});
});
@@ -180,7 +180,7 @@
// Not implemented on Linux.
afterEach(closeAllWindows);
-@@ -7677,7 +7677,7 @@ describe('BrowserWindow module', () => {
+@@ -7782,7 +7782,7 @@ describe('BrowserWindow module', () => {
describe('"transparent" option', () => {
afterEach(closeAllWindows);
diff --git a/devel/electron42/files/patch-electron_spec_api-process-spec.ts b/devel/electron42/files/patch-electron_spec_api-process-spec.ts
index 727cbfdce744..6ca0d48264c2 100644
--- a/devel/electron42/files/patch-electron_spec_api-process-spec.ts
+++ b/devel/electron42/files/patch-electron_spec_api-process-spec.ts
@@ -1,6 +1,6 @@
---- electron/spec/api-process-spec.ts.orig 2026-07-28 14:50:45 UTC
+--- electron/spec/api-process-spec.ts.orig 2026-09-08 07:41:45 UTC
+++ electron/spec/api-process-spec.ts
-@@ -41,7 +41,7 @@ describe('process module', () => {
+@@ -43,7 +43,7 @@ describe('process module', () => {
it('resolves promise successfully with valid data', async () => {
const memoryInfo = await invoke(() => process.getProcessMemoryInfo());
expect(memoryInfo).to.be.an('object');
@@ -9,7 +9,7 @@
expect(memoryInfo.residentSet).to.be.a('number').greaterThan(0);
}
expect(memoryInfo.private).to.be.a('number').greaterThan(0);
-@@ -55,7 +55,7 @@ describe('process module', () => {
+@@ -57,7 +57,7 @@ describe('process module', () => {
const systemMemoryInfo = await invoke(() => process.getSystemMemoryInfo());
expect(systemMemoryInfo.free).to.be.a('number');
expect(systemMemoryInfo.total).to.be.a('number');
@@ -18,3 +18,12 @@
expect(systemMemoryInfo.available).to.be.a('number').greaterThan(0);
}
});
+@@ -136,7 +136,7 @@ describe('process module', () => {
+ generateSpecs((fn, ...args) => fn(...args));
+ });
+
+- ifdescribe(process.platform === 'linux')('process.env', () => {
++ ifdescribe(process.platform === 'linux' || process.platform === 'freebsd')('process.env', () => {
+ it('can add variables while another thread reads the environment', async () => {
+ const fixture = path.join(__dirname, 'fixtures', 'api', 'environ-write-race.js');
+ const child = cp.spawn(process.execPath, [fixture], { stdio: ['ignore', 'pipe', 'inherit'] });
diff --git a/devel/electron42/files/patch-electron_spec_api-web-contents-spec.ts b/devel/electron42/files/patch-electron_spec_api-web-contents-spec.ts
index f38d8fd32207..538a93b55ccc 100644
--- a/devel/electron42/files/patch-electron_spec_api-web-contents-spec.ts
+++ b/devel/electron42/files/patch-electron_spec_api-web-contents-spec.ts
@@ -1,6 +1,6 @@
---- electron/spec/api-web-contents-spec.ts.orig 2026-08-31 00:54:46 UTC
+--- electron/spec/api-web-contents-spec.ts.orig 2026-09-08 07:41:45 UTC
+++ electron/spec/api-web-contents-spec.ts
-@@ -1448,7 +1448,7 @@ describe('webContents module', () => {
+@@ -1477,7 +1477,7 @@ describe('webContents module', () => {
// back to OpenFolder() which does a blocking DirectoryExists() on the UI
// thread (pre-existing behavior). Workspace-gating is covered by the test
// above.
@@ -9,7 +9,7 @@
'reveals paths under a registered workspace folder without executing them',
async () => {
const w = new BrowserWindow({ show: false });
-@@ -3403,7 +3403,7 @@ describe('webContents module', () => {
+@@ -3466,7 +3466,7 @@ describe('webContents module', () => {
});
// TODO(codebytere): OOPIF printing is disabled on Linux at the moment due to crashes.
diff --git a/devel/electron42/files/patch-electron_spec_chromium-spec.ts b/devel/electron42/files/patch-electron_spec_chromium-spec.ts
index 51929a88e6ed..6d802d56c168 100644
--- a/devel/electron42/files/patch-electron_spec_chromium-spec.ts
+++ b/devel/electron42/files/patch-electron_spec_chromium-spec.ts
@@ -1,6 +1,6 @@
---- electron/spec/chromium-spec.ts.orig 2026-08-31 00:54:46 UTC
+--- electron/spec/chromium-spec.ts.orig 2026-09-08 07:41:45 UTC
+++ electron/spec/chromium-spec.ts
-@@ -603,15 +603,15 @@ describe('command line switches', () => {
+@@ -604,15 +604,15 @@ describe('command line switches', () => {
testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`));
const lcAll = String(process.env.LC_ALL);
@@ -20,7 +20,7 @@
testLocale('', lcAll, true)
);
});
-@@ -4011,12 +4011,12 @@ describe('font fallback', () => {
+@@ -4234,12 +4234,12 @@ describe('font fallback', () => {
expect(fonts[0].familyName).to.equal('Arial');
} else if (process.platform === 'darwin') {
expect(fonts[0].familyName).to.equal('Helvetica');
@@ -35,7 +35,7 @@
'should fall back to Japanese font for sans-serif Japanese script',
async function () {
const html = `
-@@ -4583,7 +4583,7 @@ describe('paste execCommand', () => {
+@@ -4928,7 +4928,7 @@ describe('paste execCommand', () => {
});
});