devel/electron40: Update to 40.9.2
Changelog: https://github.com/electron/electron/releases/tag/v40.9.2 Reported by: GitHub (watch releases)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
ELECTRON_VER= 40.9.1
|
||||
ELECTRON_VER= 40.9.2
|
||||
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TIMESTAMP = 1776572141
|
||||
TIMESTAMP = 1777116979
|
||||
SHA256 (electron/chromium-144.0.7559.236.tar.xz.0) = 21556e44d5f5e464a7603afc1e912127c4546d3c55d777055614b769247d2714
|
||||
SIZE (electron/chromium-144.0.7559.236.tar.xz.0) = 2000000000
|
||||
SHA256 (electron/chromium-144.0.7559.236.tar.xz.1) = 389e96ab80e7f3ea7a330060c51ed714f2277810b13bbd1d72bb9e6119dce3a2
|
||||
@@ -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/electron40-40.9.1-node-modules.tar.xz) = b0068fa06ba9c5bc449a2ab423a3a4c65e77a7f6cff3255e2d9aae61ac036df1
|
||||
SIZE (electron/electron40-40.9.1-node-modules.tar.xz) = 59792711
|
||||
SHA256 (electron/electron-electron-v40.9.1_GH0.tar.gz) = 70998ea62dcbb704a9ff568ae30ee3b961b439a6c413829004017f5a4252e875
|
||||
SIZE (electron/electron-electron-v40.9.1_GH0.tar.gz) = 17232048
|
||||
SHA256 (electron/electron40-40.9.2-node-modules.tar.xz) = b0068fa06ba9c5bc449a2ab423a3a4c65e77a7f6cff3255e2d9aae61ac036df1
|
||||
SIZE (electron/electron40-40.9.2-node-modules.tar.xz) = 59792711
|
||||
SHA256 (electron/electron-electron-v40.9.2_GH0.tar.gz) = f066f2e6b6d878fce77bbbd64316f8848acb3bbc5827ab9f6220f4a0700bd58c
|
||||
SIZE (electron/electron-electron-v40.9.2_GH0.tar.gz) = 17293190
|
||||
SHA256 (electron/nodejs-node-v24.14.1_GH0.tar.gz) = dd9da50596e7b1c4edeb56daf0e81f57e1b61e43c36f40eadeee77be7d779e08
|
||||
SIZE (electron/nodejs-node-v24.14.1_GH0.tar.gz) = 126384322
|
||||
SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- electron/BUILD.gn.orig 2026-02-13 02:06:08 UTC
|
||||
--- electron/BUILD.gn.orig 2026-04-21 14:16:24 UTC
|
||||
+++ electron/BUILD.gn
|
||||
@@ -550,7 +550,7 @@ source_set("electron_lib") {
|
||||
@@ -554,7 +554,7 @@ source_set("electron_lib") {
|
||||
defines += [ "GDK_DISABLE_DEPRECATION_WARNINGS" ]
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
deps += [
|
||||
"//components/crash/core/app",
|
||||
"//components/crash/core/browser",
|
||||
@@ -649,6 +649,12 @@ source_set("electron_lib") {
|
||||
@@ -653,6 +653,12 @@ source_set("electron_lib") {
|
||||
cflags_objcc = [ "-fobjc-weak" ]
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,7 @@
|
||||
if (is_linux) {
|
||||
libs = [ "xshmfence" ]
|
||||
deps += [
|
||||
@@ -1234,7 +1240,7 @@ if (is_mac) {
|
||||
@@ -1238,7 +1244,7 @@ if (is_mac) {
|
||||
":electron_lib",
|
||||
":electron_win32_resources",
|
||||
":packed_resources",
|
||||
@@ -31,7 +31,7 @@
|
||||
"//content:sandbox_helper_win",
|
||||
"//electron/buildflags",
|
||||
"//third_party/electron_node:libnode",
|
||||
@@ -1261,7 +1267,7 @@ if (is_mac) {
|
||||
@@ -1265,7 +1271,7 @@ if (is_mac) {
|
||||
public_deps = [ "//tools/v8_context_snapshot" ]
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
data_deps += [ "//components/crash/core/app:chrome_crashpad_handler" ]
|
||||
}
|
||||
|
||||
@@ -1328,7 +1334,7 @@ if (is_mac) {
|
||||
@@ -1332,7 +1338,7 @@ if (is_mac) {
|
||||
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
deps += [ "//sandbox/linux:chrome_sandbox" ]
|
||||
}
|
||||
}
|
||||
@@ -1449,7 +1455,9 @@ dist_zip("electron_dist_zip") {
|
||||
@@ -1453,7 +1459,9 @@ dist_zip("electron_dist_zip") {
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-04-15 14:05:49 UTC
|
||||
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-04-21 14:16:24 UTC
|
||||
+++ electron/shell/browser/api/electron_api_web_contents.cc
|
||||
@@ -162,11 +162,11 @@
|
||||
#include "ui/base/cocoa/defaults_utils.h"
|
||||
@@ -41,7 +41,7 @@
|
||||
// Update font settings.
|
||||
static const gfx::FontRenderParams params(
|
||||
gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
|
||||
@@ -2759,13 +2759,13 @@ void WebContents::ForcefullyCrashRenderer() {
|
||||
@@ -2766,13 +2766,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);
|
||||
@@ -3447,7 +3447,7 @@ void WebContents::Focus() {
|
||||
@@ -3454,7 +3454,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
|
||||
@@ -4343,7 +4343,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
|
||||
@@ -4350,7 +4350,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
--- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2026-04-15 14:05:49 UTC
|
||||
--- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2026-04-21 14:16:24 UTC
|
||||
+++ electron/shell/browser/ui/inspectable_web_contents.cc
|
||||
@@ -575,7 +575,7 @@ void InspectableWebContents::LoadCompleted() {
|
||||
@@ -572,7 +572,7 @@ void InspectableWebContents::LoadCompleted() {
|
||||
dock_state_ = "right";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- electron/shell/common/node_bindings.cc.orig 2026-03-05 10:29:21 UTC
|
||||
--- electron/shell/common/node_bindings.cc.orig 2026-04-21 14:16:24 UTC
|
||||
+++ electron/shell/common/node_bindings.cc
|
||||
@@ -51,7 +51,7 @@
|
||||
#include "third_party/electron_node/src/debug_utils.h"
|
||||
@@ -27,7 +27,7 @@
|
||||
electron::crash_keys::SetCrashKey("electron.v8-oom.is_heap_oom",
|
||||
std::to_string(details.is_heap_oom));
|
||||
if (location) {
|
||||
@@ -639,7 +639,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola
|
||||
@@ -662,7 +662,7 @@ void NodeBindings::Initialize(v8::Isolate* const isola
|
||||
TRACE_EVENT0("electron", "NodeBindings::Initialize");
|
||||
// Open node's error reporting system for browser process.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- electron/spec/api-browser-window-spec.ts.orig 2026-04-15 14:05:49 UTC
|
||||
--- electron/spec/api-browser-window-spec.ts.orig 2026-04-21 14:16:24 UTC
|
||||
+++ electron/spec/api-browser-window-spec.ts
|
||||
@@ -69,7 +69,7 @@ describe('BrowserWindow module', () => {
|
||||
}).not.to.throw();
|
||||
@@ -72,7 +72,7 @@
|
||||
it('checks normal bounds when minimized', async () => {
|
||||
const bounds = w.getBounds();
|
||||
const minimize = once(w, 'minimize');
|
||||
@@ -3124,7 +3124,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -3151,7 +3151,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);
|
||||
@@ -3150,7 +3150,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -3177,7 +3177,7 @@ describe('BrowserWindow module', () => {
|
||||
});
|
||||
});
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
it('sets 1 regardless of parameter', () => {
|
||||
const w = new BrowserWindow({ show: false });
|
||||
w.setOpacity(0);
|
||||
@@ -3361,7 +3361,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -3388,7 +3388,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();
|
||||
@@ -3427,7 +3427,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -3454,7 +3454,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();
|
||||
@@ -4120,7 +4120,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -4147,7 +4147,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 {
|
||||
@@ -4625,7 +4625,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -4652,7 +4652,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 });
|
||||
@@ -4896,7 +4896,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -4923,7 +4923,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 @@
|
||||
const w = new BrowserWindow({});
|
||||
const maximize = once(w, 'maximize');
|
||||
w.maximize();
|
||||
@@ -4911,7 +4911,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -4938,7 +4938,7 @@ describe('BrowserWindow module', () => {
|
||||
expect(w.isMaximized()).to.equal(true);
|
||||
});
|
||||
|
||||
@@ -144,7 +144,7 @@
|
||||
const w = new BrowserWindow({ show: false });
|
||||
w.show();
|
||||
|
||||
@@ -4934,7 +4934,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -4961,7 +4961,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 });
|
||||
@@ -4971,7 +4971,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -4998,7 +4998,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();
|
||||
@@ -5457,7 +5457,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -5484,7 +5484,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');
|
||||
|
||||
@@ -5697,7 +5697,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -5724,7 +5724,7 @@ describe('BrowserWindow module', () => {
|
||||
});
|
||||
});
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
// Not implemented on Linux.
|
||||
afterEach(closeAllWindows);
|
||||
|
||||
@@ -7008,7 +7008,7 @@ describe('BrowserWindow module', () => {
|
||||
@@ -7035,7 +7035,7 @@ describe('BrowserWindow module', () => {
|
||||
describe('"transparent" option', () => {
|
||||
afterEach(closeAllWindows);
|
||||
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
--- electron/spec/api-web-contents-spec.ts.orig 2026-02-19 05:24:38 UTC
|
||||
--- electron/spec/api-web-contents-spec.ts.orig 2026-04-21 14:16:24 UTC
|
||||
+++ electron/spec/api-web-contents-spec.ts
|
||||
@@ -2917,7 +2917,7 @@ describe('webContents module', () => {
|
||||
@@ -1244,7 +1244,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.
|
||||
- ifit(process.platform !== 'linux')('reveals paths under a registered workspace folder without executing them', async () => {
|
||||
+ ifit(process.platform !== 'linux' && process.platform !== 'freebsd')('reveals paths under a registered workspace folder without executing them', async () => {
|
||||
const w = new BrowserWindow({ show: false });
|
||||
await openDevTools(w);
|
||||
|
||||
@@ -2979,7 +2979,7 @@ describe('webContents module', () => {
|
||||
});
|
||||
|
||||
// TODO(codebytere): OOPIF printing is disabled on Linux at the moment due to crashes.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- electron/spec/chromium-spec.ts.orig 2026-04-15 14:05:49 UTC
|
||||
--- electron/spec/chromium-spec.ts.orig 2026-04-21 14:16:24 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', () => {
|
||||
@@ -3412,12 +3412,12 @@ describe('font fallback', () => {
|
||||
@@ -3435,12 +3435,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>
|
||||
@@ -3970,7 +3970,7 @@ describe('paste execCommand', () => {
|
||||
@@ -3993,7 +3993,7 @@ describe('paste execCommand', () => {
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user