git: a30df483536b - main - devel/electron38: Update to 38.8.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Mar 2026 07:38:43 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a30df483536b0b779fd9918b52aff2edeff3c3c9
commit a30df483536b0b779fd9918b52aff2edeff3c3c9
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-03-18 07:37:29 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-03-18 07:38:36 +0000
devel/electron38: Update to 38.8.6
Changelog: https://github.com/electron/electron/releases/tag/v38.8.6
Reported by: GitHub (watch releases)
---
devel/electron38/Makefile.version | 2 +-
devel/electron38/distinfo | 10 +++++-----
devel/electron38/files/patch-electron_filenames.gni | 4 ++--
.../patch-electron_lib_browser_api_power-monitor.ts | 6 +++---
...on_shell_browser_api_electron__api__power__monitor.cc | 6 +++---
...ron_shell_browser_api_electron__api__web__contents.cc | 16 ++++++++--------
...tron_shell_browser_api_electron__api__web__contents.h | 4 ++--
.../files/patch-electron_shell_browser_browser.cc | 6 +++---
.../files/patch-electron_shell_browser_browser.h | 6 +++---
.../electron38/files/patch-electron_spec_api-app-spec.ts | 10 +++++-----
.../files/patch-electron_spec_chromium-spec.ts | 6 +++---
11 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/devel/electron38/Makefile.version b/devel/electron38/Makefile.version
index cf85cbeee4a5..8662c4961dad 100644
--- a/devel/electron38/Makefile.version
+++ b/devel/electron38/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER= 38.8.4
+ELECTRON_VER= 38.8.6
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron38/distinfo b/devel/electron38/distinfo
index 799738e4a1d4..7041d7952864 100644
--- a/devel/electron38/distinfo
+++ b/devel/electron38/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1771994837
+TIMESTAMP = 1773740456
SHA256 (electron/chromium-140.0.7339.249.tar.xz.0) = 138fc3e5eb2b5db406a7764a8e287a0d16640f83cbfb452d6e0f54de8eaf65c2
SIZE (electron/chromium-140.0.7339.249.tar.xz.0) = 2000000000
SHA256 (electron/chromium-140.0.7339.249.tar.xz.1) = 0b7ea85268dd4f6aacd0641a48d266eaa2eb9c79f2c528926bfcdc5aee36f1da
@@ -9,10 +9,10 @@ SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1
SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111
SHA256 (electron/yarn-4.12.0.tgz) = bd58d06826ce9542c4cd904fe10bab7bc718ea2cc39a45d9fbd15f2edb45761c
SIZE (electron/yarn-4.12.0.tgz) = 1056794
-SHA256 (electron/electron38-38.8.4-node-modules.tar.xz) = 9dd64a6487f3623a6d1fc32c0dd27455946ab5959c88bcdfe3128c5bb8216a33
-SIZE (electron/electron38-38.8.4-node-modules.tar.xz) = 59743931
-SHA256 (electron/electron-electron-v38.8.4_GH0.tar.gz) = 4d01c1560c93b1d4ab61fe57dfbcecc43aff84d090e50fc1919991e97417c3ab
-SIZE (electron/electron-electron-v38.8.4_GH0.tar.gz) = 16964524
+SHA256 (electron/electron38-38.8.6-node-modules.tar.xz) = 9dd64a6487f3623a6d1fc32c0dd27455946ab5959c88bcdfe3128c5bb8216a33
+SIZE (electron/electron38-38.8.6-node-modules.tar.xz) = 59743931
+SHA256 (electron/electron-electron-v38.8.6_GH0.tar.gz) = d7d15cf0a7c297af739858327b7255e3f8c37b7f7006fec9d4fae525f18982a1
+SIZE (electron/electron-electron-v38.8.6_GH0.tar.gz) = 16967351
SHA256 (electron/nodejs-node-v22.22.0_GH0.tar.gz) = b7f40aadbf71df0d78a2239f593e4f14bf2f129fd9c5643f024c68ec1b48a854
SIZE (electron/nodejs-node-v22.22.0_GH0.tar.gz) = 129435366
SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb
diff --git a/devel/electron38/files/patch-electron_filenames.gni b/devel/electron38/files/patch-electron_filenames.gni
index f8c4bda94c1f..7ea9c1834746 100644
--- a/devel/electron38/files/patch-electron_filenames.gni
+++ b/devel/electron38/files/patch-electron_filenames.gni
@@ -1,6 +1,6 @@
---- electron/filenames.gni.orig 2025-09-02 20:56:04 UTC
+--- electron/filenames.gni.orig 2026-03-10 11:28:57 UTC
+++ electron/filenames.gni
-@@ -238,8 +238,8 @@ filenames = {
+@@ -240,8 +240,8 @@ filenames = {
"shell/app/command_line_args.h",
"shell/app/electron_content_client.cc",
"shell/app/electron_content_client.h",
diff --git a/devel/electron38/files/patch-electron_lib_browser_api_power-monitor.ts b/devel/electron38/files/patch-electron_lib_browser_api_power-monitor.ts
index 24713c283fe7..77b0639f0f7c 100644
--- a/devel/electron38/files/patch-electron_lib_browser_api_power-monitor.ts
+++ b/devel/electron38/files/patch-electron_lib_browser_api_power-monitor.ts
@@ -1,7 +1,7 @@
---- electron/lib/browser/api/power-monitor.ts.orig 2023-08-14 18:19:06 UTC
+--- electron/lib/browser/api/power-monitor.ts.orig 2026-03-10 11:28:57 UTC
+++ electron/lib/browser/api/power-monitor.ts
-@@ -17,7 +17,7 @@ class PowerMonitor extends EventEmitter {
- const pm = createPowerMonitor();
+@@ -23,7 +23,7 @@ class PowerMonitor extends EventEmitter implements Ele
+ pm = createPowerMonitor();
pm.emit = this.emit.bind(this);
- if (process.platform === 'linux') {
diff --git a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__power__monitor.cc b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__power__monitor.cc
index bca4a85e06ed..626b5194611d 100644
--- a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__power__monitor.cc
+++ b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__power__monitor.cc
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_power_monitor.cc.orig 2025-09-02 20:56:04 UTC
+--- electron/shell/browser/api/electron_api_power_monitor.cc.orig 2026-03-10 11:28:57 UTC
+++ electron/shell/browser/api/electron_api_power_monitor.cc
-@@ -129,6 +129,11 @@ void PowerMonitor::OnSpeedLimitChange(int speed_limit)
+@@ -137,6 +137,11 @@ void PowerMonitor::OnSpeedLimitChange(int speed_limit)
gin::DataObjectBuilder(isolate).Set("limit", speed_limit).Build());
}
@@ -12,7 +12,7 @@
#if BUILDFLAG(IS_LINUX)
void PowerMonitor::SetListeningForShutdown(bool is_listening) {
if (is_listening) {
-@@ -154,7 +159,7 @@ gin::ObjectTemplateBuilder PowerMonitor::GetObjectTemp
+@@ -162,7 +167,7 @@ gin::ObjectTemplateBuilder PowerMonitor::GetObjectTemp
auto builder =
gin_helper::EventEmitterMixin<PowerMonitor>::GetObjectTemplateBuilder(
isolate);
diff --git a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__web__contents.cc b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
index 687fb6142bd2..676d750ef158 100644
--- a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__web__contents.cc
+++ b/devel/electron38/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 2025-09-02 20:56:04 UTC
+--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-03-10 11:28:57 UTC
+++ electron/shell/browser/api/electron_api_web_contents.cc
-@@ -162,11 +162,11 @@
+@@ -163,11 +163,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
-@@ -198,7 +198,7 @@
+@@ -199,7 +199,7 @@
#include "content/public/browser/plugin_service.h"
#endif
@@ -23,7 +23,7 @@
#include "chrome/browser/hang_monitor/hang_crash_dump.h" // nogncheck
#endif
-@@ -572,7 +572,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
+@@ -573,7 +573,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
ui::TextInsertionCaretBlinkPeriodFromDefaults());
if (system_value)
return *system_value;
@@ -32,7 +32,7 @@
if (auto* linux_ui = ui::LinuxUi::instance())
return linux_ui->GetCursorBlinkInterval();
#elif BUILDFLAG(IS_WIN)
-@@ -933,7 +933,7 @@ void WebContents::InitWithSessionAndOptions(
+@@ -934,7 +934,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));
-@@ -2702,13 +2702,13 @@ void WebContents::ForcefullyCrashRenderer() {
+@@ -2718,13 +2718,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);
-@@ -3391,7 +3391,7 @@ void WebContents::Focus() {
+@@ -3407,7 +3407,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
-@@ -4270,7 +4270,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
+@@ -4286,7 +4286,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
}
#endif
diff --git a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__web__contents.h b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__web__contents.h
index de1cc8f43ef2..cb0de388d5ef 100644
--- a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__web__contents.h
+++ b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__web__contents.h
@@ -1,6 +1,6 @@
---- electron/shell/browser/api/electron_api_web_contents.h.orig 2025-08-18 21:37:38 UTC
+--- electron/shell/browser/api/electron_api_web_contents.h.orig 2026-03-10 11:28:57 UTC
+++ electron/shell/browser/api/electron_api_web_contents.h
-@@ -743,7 +743,7 @@ class WebContents final : public ExclusiveAccessContex
+@@ -744,7 +744,7 @@ class WebContents final : public ExclusiveAccessContex
#if defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_MAC)
ui::ImageModel GetDevToolsWindowIcon() override;
#endif
diff --git a/devel/electron38/files/patch-electron_shell_browser_browser.cc b/devel/electron38/files/patch-electron_shell_browser_browser.cc
index d4c7f912e1c6..b9c355618bb1 100644
--- a/devel/electron38/files/patch-electron_shell_browser_browser.cc
+++ b/devel/electron38/files/patch-electron_shell_browser_browser.cc
@@ -1,7 +1,7 @@
---- electron/shell/browser/browser.cc.orig 2025-01-29 20:10:57 UTC
+--- electron/shell/browser/browser.cc.orig 2026-03-10 11:28:57 UTC
+++ electron/shell/browser/browser.cc
-@@ -71,7 +71,7 @@ Browser* Browser::Get() {
- return ElectronBrowserMainParts::Get()->browser();
+@@ -96,7 +96,7 @@ bool Browser::IsValidProtocolScheme(const std::string&
+ return true;
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
diff --git a/devel/electron38/files/patch-electron_shell_browser_browser.h b/devel/electron38/files/patch-electron_shell_browser_browser.h
index 9d81a52e3348..e7160c3aa6d9 100644
--- a/devel/electron38/files/patch-electron_shell_browser_browser.h
+++ b/devel/electron38/files/patch-electron_shell_browser_browser.h
@@ -1,6 +1,6 @@
---- electron/shell/browser/browser.h.orig 2025-08-13 14:21:20 UTC
+--- electron/shell/browser/browser.h.orig 2026-03-10 11:28:57 UTC
+++ electron/shell/browser/browser.h
-@@ -147,7 +147,7 @@ class Browser : private WindowListObserver {
+@@ -151,7 +151,7 @@ class Browser : private WindowListObserver {
std::u16string GetApplicationNameForProtocol(const GURL& url);
@@ -9,7 +9,7 @@
// get the name, icon and path for an application
v8::Local<v8::Promise> GetApplicationInfoForProtocol(v8::Isolate* isolate,
const GURL& url);
-@@ -275,10 +275,10 @@ class Browser : private WindowListObserver {
+@@ -279,10 +279,10 @@ class Browser : private WindowListObserver {
PCWSTR GetAppUserModelID();
#endif // BUILDFLAG(IS_WIN)
diff --git a/devel/electron38/files/patch-electron_spec_api-app-spec.ts b/devel/electron38/files/patch-electron_spec_api-app-spec.ts
index b929d969aa83..6e99aa52004f 100644
--- a/devel/electron38/files/patch-electron_spec_api-app-spec.ts
+++ b/devel/electron38/files/patch-electron_spec_api-app-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/api-app-spec.ts.orig 2025-11-13 22:57:06 UTC
+--- electron/spec/api-app-spec.ts.orig 2026-03-10 11:28:57 UTC
+++ electron/spec/api-app-spec.ts
@@ -129,11 +129,11 @@ describe('app module', () => {
});
@@ -95,7 +95,7 @@
it('returns promise rejection for a bogus protocol', async function () {
await expect(
app.getApplicationInfoForProtocol('bogus-protocol://')
-@@ -1497,7 +1497,7 @@ describe('app module', () => {
+@@ -1520,7 +1520,7 @@ describe('app module', () => {
});
// FIXME Get these specs running on Linux CI
@@ -104,7 +104,7 @@
const iconPath = path.join(__dirname, 'fixtures/assets/icon.ico');
const sizes = {
small: 16,
-@@ -1579,7 +1579,7 @@ describe('app module', () => {
+@@ -1602,7 +1602,7 @@ describe('app module', () => {
expect(entry.memory).to.have.property('privateBytes').that.is.greaterThan(0);
}
@@ -113,7 +113,7 @@
expect(entry.sandboxed).to.be.a('boolean');
}
-@@ -1653,7 +1653,7 @@ describe('app module', () => {
+@@ -1676,7 +1676,7 @@ describe('app module', () => {
it('succeeds with complete GPUInfo', async () => {
const completeInfo = await getGPUInfo('complete');
@@ -122,7 +122,7 @@
// For linux and macOS complete info is same as basic info
await verifyBasicGPUInfo(completeInfo);
const basicInfo = await getGPUInfo('basic');
-@@ -1677,7 +1677,7 @@ describe('app module', () => {
+@@ -1700,7 +1700,7 @@ describe('app module', () => {
});
});
diff --git a/devel/electron38/files/patch-electron_spec_chromium-spec.ts b/devel/electron38/files/patch-electron_spec_chromium-spec.ts
index 1c7a9ecf6c0b..c823fb0b1c8b 100644
--- a/devel/electron38/files/patch-electron_spec_chromium-spec.ts
+++ b/devel/electron38/files/patch-electron_spec_chromium-spec.ts
@@ -1,4 +1,4 @@
---- electron/spec/chromium-spec.ts.orig 2025-09-27 23:16:33 UTC
+--- electron/spec/chromium-spec.ts.orig 2026-03-10 11:28:57 UTC
+++ electron/spec/chromium-spec.ts
@@ -475,13 +475,13 @@ describe('command line switches', () => {
it('should not set an invalid locale', async () => testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`));
@@ -18,7 +18,7 @@
});
describe('--remote-debugging-pipe switch', () => {
-@@ -3220,12 +3220,12 @@ describe('font fallback', () => {
+@@ -3303,12 +3303,12 @@ describe('font fallback', () => {
expect(fonts[0].familyName).to.equal('Arial');
} else if (process.platform === 'darwin') {
expect(fonts[0].familyName).to.equal('Helvetica');
@@ -33,7 +33,7 @@
const html = `
<html lang="ja-JP">
<head>
-@@ -3777,7 +3777,7 @@ describe('paste execCommand', () => {
+@@ -3860,7 +3860,7 @@ describe('paste execCommand', () => {
});
});