devel/electron40: Update to 40.9.1

Changelog:
- https://github.com/electron/electron/releases/tag/v40.9.0
- https://github.com/electron/electron/releases/tag/v40.9.1

Reported by:	GitHub (watch releases)
This commit is contained in:
Hiroki Tagato
2026-04-20 16:25:48 +09:00
parent 9ddf0ebfdd
commit 94a897a363
19 changed files with 222 additions and 66 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false
# See ${WRKSRC}/electron/DEPS for CHROMIUM_VER
CHROMIUM_VER= 144.0.7559.236
# See ${WRKSRC}/electron/DEPS for NODE_VER
NODE_VER= 24.14.0
NODE_VER= 24.14.1
# See ${WRKSRC}/electron/DEPS for NAN_VER
NAN_VER= 675cefebca42410733da8a454c8d9391fcebfbc2
# See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER
+1 -1
View File
@@ -1,2 +1,2 @@
ELECTRON_VER= 40.8.5
ELECTRON_VER= 40.9.1
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
+7 -7
View File
@@ -1,4 +1,4 @@
TIMESTAMP = 1775048965
TIMESTAMP = 1776572141
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,12 +9,12 @@ 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.8.5-node-modules.tar.xz) = 5ead5307742772cd432cf026a946022a5f3e2b8b126d6eea5aaed20996608121
SIZE (electron/electron40-40.8.5-node-modules.tar.xz) = 59675854
SHA256 (electron/electron-electron-v40.8.5_GH0.tar.gz) = f4b438a9ebfbb3895b76f7de8e1613ca0e80e7f1e10eba212880cc8c43ff9758
SIZE (electron/electron-electron-v40.8.5_GH0.tar.gz) = 17191128
SHA256 (electron/nodejs-node-v24.14.0_GH0.tar.gz) = f3a7374f7d0a3b3dcd1b612dd2bf1ffbe7ace778c02c027efaaacbad1e17390a
SIZE (electron/nodejs-node-v24.14.0_GH0.tar.gz) = 126199657
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/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
SIZE (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 111323
SHA256 (electron/Squirrel-Squirrel.Mac-0e5d146ba13101a1302d59ea6e6e0b3cace4ae38_GH0.tar.gz) = f4ebb40a8d85dbb7ef02aa0571b2f8e22182c6d73b6992484a53c90047779d01
@@ -14,6 +14,7 @@
"@electron/typescript-definitions": "^9.1.5",
"@octokit/rest": "^20.1.2",
"@primer/octicons": "^10.0.0",
"@sentry/cli": "1.72.0",
"@types/minimist": "^1.2.5",
"@types/node": "^24.9.0",
"@types/semver": "^7.5.8",
@@ -149,6 +150,9 @@
"spec/fixtures/native-addon/*"
],
"dependenciesMeta": {
"@sentry/cli": {
"built": true
},
"abstract-socket": {
"built": true
}
+158 -15
View File
@@ -446,6 +446,7 @@ __metadata:
"@electron/typescript-definitions": "npm:^9.1.5"
"@octokit/rest": "npm:^20.1.2"
"@primer/octicons": "npm:^10.0.0"
"@sentry/cli": "npm:1.72.0"
"@types/minimist": "npm:^1.2.5"
"@types/node": "npm:^24.9.0"
"@types/semver": "npm:^7.5.8"
@@ -492,6 +493,8 @@ __metadata:
wrapper-webpack-plugin: "npm:^2.2.0"
yaml: "npm:^2.8.1"
dependenciesMeta:
"@sentry/cli":
built: true
abstract-socket:
built: true
languageName: unknown
@@ -1503,6 +1506,22 @@ __metadata:
languageName: node
linkType: hard
"@sentry/cli@npm:1.72.0":
version: 1.72.0
resolution: "@sentry/cli@npm:1.72.0"
dependencies:
https-proxy-agent: "npm:^5.0.0"
mkdirp: "npm:^0.5.5"
node-fetch: "npm:^2.6.0"
npmlog: "npm:^4.1.2"
progress: "npm:^2.0.3"
proxy-from-env: "npm:^1.1.0"
bin:
sentry-cli: bin/sentry-cli
checksum: 10c0/ef850dc9938c009dec485224222c272c1765ee59da04ef0c334de214cf79afe49a456671f465f98c9b48ff4dfa8738f92e7d9988dea0df0e318fba6969e4c0a7
languageName: node
linkType: hard
"@sindresorhus/is@npm:^4.0.0":
version: 4.6.0
resolution: "@sindresorhus/is@npm:4.6.0"
@@ -2671,6 +2690,13 @@ __metadata:
languageName: node
linkType: hard
"ansi-regex@npm:^2.0.0":
version: 2.1.1
resolution: "ansi-regex@npm:2.1.1"
checksum: 10c0/78cebaf50bce2cb96341a7230adf28d804611da3ce6bf338efa7b72f06cc6ff648e29f80cd95e582617ba58d5fdbec38abfeed3500a98bce8381a9daec7c548b
languageName: node
linkType: hard
"ansi-regex@npm:^3.0.0":
version: 3.0.1
resolution: "ansi-regex@npm:3.0.1"
@@ -2738,6 +2764,13 @@ __metadata:
languageName: node
linkType: hard
"aproba@npm:^1.0.3":
version: 1.2.0
resolution: "aproba@npm:1.2.0"
checksum: 10c0/2d34f008c9edfa991f42fe4b667d541d38a474a39ae0e24805350486d76744cd91ee45313283c1d39a055b14026dd0fc4d0cbfc13f210855d59d7e8b5a61dc51
languageName: node
linkType: hard
"aproba@npm:^1.0.3 || ^2.0.0":
version: 2.1.0
resolution: "aproba@npm:2.1.0"
@@ -2755,6 +2788,16 @@ __metadata:
languageName: node
linkType: hard
"are-we-there-yet@npm:~1.1.2":
version: 1.1.7
resolution: "are-we-there-yet@npm:1.1.7"
dependencies:
delegates: "npm:^1.0.0"
readable-stream: "npm:^2.0.6"
checksum: 10c0/03cb45f2892767773c86a616205fc67feb8dfdd56685d1b34999cfa6c0d2aebe73ec0e6ba88a406422b998dea24138337fdb9a3f9b172d7c2a7f75d02f3df088
languageName: node
linkType: hard
"argparse@npm:^1.0.7":
version: 1.0.10
resolution: "argparse@npm:1.0.10"
@@ -3822,6 +3865,13 @@ __metadata:
languageName: node
linkType: hard
"code-point-at@npm:^1.0.0":
version: 1.1.0
resolution: "code-point-at@npm:1.1.0"
checksum: 10c0/33f6b234084e46e6e369b6f0b07949392651b4dde70fc6a592a8d3dafa08d5bb32e3981a02f31f6fc323a26bc03a4c063a9d56834848695bda7611c2417ea2e6
languageName: node
linkType: hard
"coffeescript@npm:^2.4.1":
version: 2.7.0
resolution: "coffeescript@npm:2.7.0"
@@ -3981,7 +4031,7 @@ __metadata:
languageName: node
linkType: hard
"console-control-strings@npm:^1.0.0, console-control-strings@npm:^1.1.0":
"console-control-strings@npm:^1.0.0, console-control-strings@npm:^1.1.0, console-control-strings@npm:~1.1.0":
version: 1.1.0
resolution: "console-control-strings@npm:1.1.0"
checksum: 10c0/7ab51d30b52d461412cd467721bb82afe695da78fff8f29fe6f6b9cbaac9a2328e27a22a966014df9532100f6dd85370460be8130b9c677891ba36d96a343f50
@@ -6236,6 +6286,22 @@ __metadata:
languageName: node
linkType: hard
"gauge@npm:~2.7.3":
version: 2.7.4
resolution: "gauge@npm:2.7.4"
dependencies:
aproba: "npm:^1.0.3"
console-control-strings: "npm:^1.0.0"
has-unicode: "npm:^2.0.0"
object-assign: "npm:^4.1.0"
signal-exit: "npm:^3.0.0"
string-width: "npm:^1.0.1"
strip-ansi: "npm:^3.0.1"
wide-align: "npm:^1.1.0"
checksum: 10c0/d606346e2e47829e0bc855d0becb36c4ce492feabd61ae92884b89e07812dd8a67a860ca30ece3a4c2e9f2c73bd68ba2b8e558ed362432ffd86de83c08847f84
languageName: node
linkType: hard
"get-caller-file@npm:^2.0.5":
version: 2.0.5
resolution: "get-caller-file@npm:2.0.5"
@@ -6710,7 +6776,7 @@ __metadata:
languageName: node
linkType: hard
"has-unicode@npm:^2.0.1":
"has-unicode@npm:^2.0.0, has-unicode@npm:^2.0.1":
version: 2.0.1
resolution: "has-unicode@npm:2.0.1"
checksum: 10c0/ebdb2f4895c26bb08a8a100b62d362e49b2190bcfd84b76bc4be1a3bd4d254ec52d0dd9f2fbcc093fc5eb878b20c52146f9dfd33e2686ed28982187be593b47c
@@ -7374,6 +7440,15 @@ __metadata:
languageName: node
linkType: hard
"is-fullwidth-code-point@npm:^1.0.0":
version: 1.0.0
resolution: "is-fullwidth-code-point@npm:1.0.0"
dependencies:
number-is-nan: "npm:^1.0.0"
checksum: 10c0/12acfcf16142f2d431bf6af25d68569d3198e81b9799b4ae41058247aafcc666b0127d64384ea28e67a746372611fcbe9b802f69175287aba466da3eddd5ba0f
languageName: node
linkType: hard
"is-fullwidth-code-point@npm:^3.0.0":
version: 3.0.0
resolution: "is-fullwidth-code-point@npm:3.0.0"
@@ -9308,16 +9383,7 @@ __metadata:
languageName: node
linkType: hard
"mkdirp@npm:^1.0.3":
version: 1.0.4
resolution: "mkdirp@npm:1.0.4"
bin:
mkdirp: bin/cmd.js
checksum: 10c0/46ea0f3ffa8bc6a5bc0c7081ffc3907777f0ed6516888d40a518c5111f8366d97d2678911ad1a6882bf592fa9de6c784fea32e1687bb94e1f4944170af48a5cf
languageName: node
linkType: hard
"mkdirp@npm:~0.5.1":
"mkdirp@npm:^0.5.5, mkdirp@npm:~0.5.1":
version: 0.5.6
resolution: "mkdirp@npm:0.5.6"
dependencies:
@@ -9328,6 +9394,15 @@ __metadata:
languageName: node
linkType: hard
"mkdirp@npm:^1.0.3":
version: 1.0.4
resolution: "mkdirp@npm:1.0.4"
bin:
mkdirp: bin/cmd.js
checksum: 10c0/46ea0f3ffa8bc6a5bc0c7081ffc3907777f0ed6516888d40a518c5111f8366d97d2678911ad1a6882bf592fa9de6c784fea32e1687bb94e1f4944170af48a5cf
languageName: node
linkType: hard
"mocha-junit-reporter@npm:^1.18.0":
version: 1.23.3
resolution: "mocha-junit-reporter@npm:1.23.3"
@@ -9480,6 +9555,20 @@ __metadata:
languageName: node
linkType: hard
"node-fetch@npm:^2.6.0":
version: 2.7.0
resolution: "node-fetch@npm:2.7.0"
dependencies:
whatwg-url: "npm:^5.0.0"
peerDependencies:
encoding: ^0.1.0
peerDependenciesMeta:
encoding:
optional: true
checksum: 10c0/b55786b6028208e6fbe594ccccc213cab67a72899c9234eb59dba51062a299ea853210fcf526998eaa2867b0963ad72338824450905679ff0fa304b8c5093ae8
languageName: node
linkType: hard
"node-fetch@npm:^2.6.1":
version: 2.6.8
resolution: "node-fetch@npm:2.6.8"
@@ -9645,6 +9734,18 @@ __metadata:
languageName: node
linkType: hard
"npmlog@npm:^4.1.2":
version: 4.1.2
resolution: "npmlog@npm:4.1.2"
dependencies:
are-we-there-yet: "npm:~1.1.2"
console-control-strings: "npm:~1.1.0"
gauge: "npm:~2.7.3"
set-blocking: "npm:~2.0.0"
checksum: 10c0/d6a26cb362277c65e24a70ebdaff31f81184ceb5415fd748abaaf26417bf0794a17ba849116e4f454a0370b9067ae320834cc78d74527dbeadf6e9d19a959046
languageName: node
linkType: hard
"npmlog@npm:^5.0.1":
version: 5.0.1
resolution: "npmlog@npm:5.0.1"
@@ -9669,7 +9770,14 @@ __metadata:
languageName: node
linkType: hard
"object-assign@npm:^4.1.1":
"number-is-nan@npm:^1.0.0":
version: 1.0.1
resolution: "number-is-nan@npm:1.0.1"
checksum: 10c0/cb97149006acc5cd512c13c1838223abdf202e76ddfa059c5e8e7507aff2c3a78cd19057516885a2f6f5b576543dc4f7b6f3c997cc7df53ae26c260855466df5
languageName: node
linkType: hard
"object-assign@npm:^4.1.0, object-assign@npm:^4.1.1":
version: 4.1.1
resolution: "object-assign@npm:4.1.1"
checksum: 10c0/1f4df9945120325d041ccf7b86f31e8bcc14e73d29171e37a7903050e96b81323784ec59f93f102ec635bcf6fa8034ba3ea0a8c7e69fa202b87ae3b6cec5a414
@@ -10774,6 +10882,21 @@ __metadata:
languageName: node
linkType: hard
"readable-stream@npm:^2.0.6":
version: 2.3.8
resolution: "readable-stream@npm:2.3.8"
dependencies:
core-util-is: "npm:~1.0.0"
inherits: "npm:~2.0.3"
isarray: "npm:~1.0.0"
process-nextick-args: "npm:~2.0.0"
safe-buffer: "npm:~5.1.1"
string_decoder: "npm:~1.1.1"
util-deprecate: "npm:~1.0.1"
checksum: 10c0/7efdb01f3853bc35ac62ea25493567bf588773213f5f4a79f9c365e1ad13bab845ac0dae7bc946270dc40c3929483228415e92a3fc600cc7e4548992f41ee3fa
languageName: node
linkType: hard
"readable-stream@npm:^3.0.2":
version: 3.6.0
resolution: "readable-stream@npm:3.6.0"
@@ -12102,7 +12225,7 @@ __metadata:
languageName: node
linkType: hard
"set-blocking@npm:^2.0.0":
"set-blocking@npm:^2.0.0, set-blocking@npm:~2.0.0":
version: 2.0.0
resolution: "set-blocking@npm:2.0.0"
checksum: 10c0/9f8c1b2d800800d0b589de1477c753492de5c1548d4ade52f57f1d1f5e04af5481554d75ce5e5c43d4004b80a3eb714398d6907027dc0534177b7539119f4454
@@ -12621,6 +12744,17 @@ __metadata:
languageName: node
linkType: hard
"string-width@npm:^1.0.1":
version: 1.0.2
resolution: "string-width@npm:1.0.2"
dependencies:
code-point-at: "npm:^1.0.0"
is-fullwidth-code-point: "npm:^1.0.0"
strip-ansi: "npm:^3.0.0"
checksum: 10c0/c558438baed23a9ab9370bb6a939acbdb2b2ffc517838d651aad0f5b2b674fb85d460d9b1d0b6a4c210dffd09e3235222d89a5bd4c0c1587f78b2bb7bc00c65e
languageName: node
linkType: hard
"string-width@npm:^4.1.0":
version: 4.2.0
resolution: "string-width@npm:4.2.0"
@@ -12812,6 +12946,15 @@ __metadata:
languageName: node
linkType: hard
"strip-ansi@npm:^3.0.0, strip-ansi@npm:^3.0.1":
version: 3.0.1
resolution: "strip-ansi@npm:3.0.1"
dependencies:
ansi-regex: "npm:^2.0.0"
checksum: 10c0/f6e7fbe8e700105dccf7102eae20e4f03477537c74b286fd22cfc970f139002ed6f0d9c10d0e21aa9ed9245e0fa3c9275930e8795c5b947da136e4ecb644a70f
languageName: node
linkType: hard
"strip-ansi@npm:^4.0.0":
version: 4.0.0
resolution: "strip-ansi@npm:4.0.0"
@@ -14264,7 +14407,7 @@ __metadata:
languageName: node
linkType: hard
"wide-align@npm:^1.1.2":
"wide-align@npm:^1.1.0, wide-align@npm:^1.1.2":
version: 1.1.5
resolution: "wide-align@npm:1.1.5"
dependencies:
@@ -1,6 +1,6 @@
--- electron/default_app/default_app.ts.orig 2024-10-09 13:53:06 UTC
--- electron/default_app/default_app.ts.orig 2026-04-15 14:05:49 UTC
+++ electron/default_app/default_app.ts
@@ -61,7 +61,7 @@ async function createWindow (backgroundColor?: string)
@@ -101,7 +101,7 @@ async function createWindow (backgroundColor?: string)
show: false
};
@@ -1,4 +1,4 @@
--- electron/shell/app/node_main.cc.orig 2026-01-15 18:39:20 UTC
--- electron/shell/app/node_main.cc.orig 2026-04-15 14:05:49 UTC
+++ electron/shell/app/node_main.cc
@@ -53,7 +53,7 @@
#include "shell/common/mac/codesign_util.h"
@@ -26,7 +26,7 @@
electron::crash_keys::GetCrashKeys(&keys);
#endif
return gin::ConvertToV8(isolate, keys);
@@ -291,7 +291,7 @@ int NodeMain() {
@@ -296,7 +296,7 @@ int NodeMain() {
// Setup process.crashReporter in child node processes
auto reporter = gin_helper::Dictionary::CreateEmpty(isolate);
reporter.SetMethod("getParameters", &GetParameters);
@@ -1,4 +1,4 @@
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-03-17 08:46:36 UTC
--- 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
@@ -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));
@@ -2758,13 +2758,13 @@ void WebContents::ForcefullyCrashRenderer() {
@@ -2759,13 +2759,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);
@@ -3446,7 +3446,7 @@ void WebContents::Focus() {
@@ -3447,7 +3447,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
@@ -4342,7 +4342,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
@@ -4343,7 +4343,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
}
#endif
@@ -1,6 +1,6 @@
--- electron/shell/browser/osr/osr_host_display_client.cc.orig 2026-01-15 18:39:20 UTC
--- electron/shell/browser/osr/osr_host_display_client.cc.orig 2026-04-15 14:05:49 UTC
+++ electron/shell/browser/osr/osr_host_display_client.cc
@@ -94,7 +94,7 @@ void OffScreenHostDisplayClient::CreateLayeredWindowUp
@@ -102,7 +102,7 @@ void OffScreenHostDisplayClient::CreateLayeredWindowUp
layered_window_updater_->SetActive(active_);
}
@@ -1,6 +1,6 @@
--- electron/shell/browser/osr/osr_video_consumer.cc.orig 2025-10-27 17:58:27 UTC
--- electron/shell/browser/osr/osr_video_consumer.cc.orig 2026-04-15 14:05:49 UTC
+++ electron/shell/browser/osr/osr_video_consumer.cc
@@ -128,7 +128,7 @@ void OffScreenVideoConsumer::OnFrameCaptured(
@@ -129,7 +129,7 @@ void OffScreenVideoConsumer::OnFrameCaptured(
#elif BUILDFLAG(IS_APPLE)
texture.shared_texture_handle =
reinterpret_cast<uintptr_t>(gmb_handle.io_surface().get());
@@ -1,8 +1,8 @@
--- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2026-03-05 10:29:21 UTC
--- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2026-04-15 14:05:49 UTC
+++ electron/shell/browser/ui/inspectable_web_contents.cc
@@ -560,7 +560,7 @@ void InspectableWebContents::LoadCompleted() {
prefs.FindString("currentDockState");
base::RemoveChars(*current_dock_state, "\"", &dock_state_);
@@ -575,7 +575,7 @@ void InspectableWebContents::LoadCompleted() {
dock_state_ = "right";
}
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
@@ -1,4 +1,4 @@
--- electron/spec/api-browser-window-spec.ts.orig 2026-03-26 20:19:14 UTC
--- electron/spec/api-browser-window-spec.ts.orig 2026-04-15 14:05:49 UTC
+++ electron/spec/api-browser-window-spec.ts
@@ -69,7 +69,7 @@ describe('BrowserWindow module', () => {
}).not.to.throw();
@@ -180,7 +180,7 @@
// Not implemented on Linux.
afterEach(closeAllWindows);
@@ -6988,7 +6988,7 @@ describe('BrowserWindow module', () => {
@@ -7008,7 +7008,7 @@ describe('BrowserWindow module', () => {
describe('"transparent" option', () => {
afterEach(closeAllWindows);
@@ -1,4 +1,4 @@
--- electron/spec/api-crash-reporter-spec.ts.orig 2024-10-22 02:29:46 UTC
--- electron/spec/api-crash-reporter-spec.ts.orig 2026-04-15 14:05:49 UTC
+++ electron/spec/api-crash-reporter-spec.ts
@@ -14,7 +14,7 @@ const isWindowsOnArm = process.platform === 'win32' &&
import { ifdescribe, ifit, defer, startRemoteControlApp, repeatedly, listen } from './lib/spec-helpers';
@@ -27,7 +27,7 @@
const { port, waitForCrash } = await startServer();
let exitCode: number | null = null;
const appPath = path.join(__dirname, 'fixtures', 'apps', 'crash');
@@ -533,7 +533,7 @@ ifdescribe(!isLinuxOnArm && !process.mas && !process.e
@@ -561,7 +561,7 @@ ifdescribe(!isLinuxOnArm && !process.mas && !process.e
}
}
@@ -36,7 +36,7 @@
? ['main', 'renderer', 'sandboxed-renderer']
: ['main', 'renderer', 'sandboxed-renderer', 'node'];
for (const crashingProcess of processList) {
@@ -546,7 +546,7 @@ ifdescribe(!isLinuxOnArm && !process.mas && !process.e
@@ -574,7 +574,7 @@ ifdescribe(!isLinuxOnArm && !process.mas && !process.e
return app.getPath('crashDumps');
});
let reportsDir = crashesDir;
@@ -45,7 +45,7 @@
reportsDir = path.join(crashesDir, 'completed');
} else if (process.platform === 'win32') {
reportsDir = path.join(crashesDir, 'reports');
@@ -570,7 +570,7 @@ ifdescribe(!isLinuxOnArm && !process.mas && !process.e
@@ -598,7 +598,7 @@ ifdescribe(!isLinuxOnArm && !process.mas && !process.e
expect(remoteCrashesDir).to.equal(crashesDir);
let reportsDir = crashesDir;
@@ -1,4 +1,4 @@
--- electron/spec/api-desktop-capturer-spec.ts.orig 2025-07-02 10:12:01 UTC
--- electron/spec/api-desktop-capturer-spec.ts.orig 2026-04-15 14:05:49 UTC
+++ electron/spec/api-desktop-capturer-spec.ts
@@ -9,7 +9,7 @@ function getSourceTypes (): ('window' | 'screen')[] {
import { closeAllWindows } from './lib/window-helpers';
@@ -9,7 +9,7 @@
return ['screen'];
}
return ['window', 'screen'];
@@ -35,7 +35,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl
@@ -35,7 +35,7 @@ describe('desktopCapturer', () => {
});
// Linux doesn't return any window sources.
@@ -18,7 +18,7 @@
const promise1 = desktopCapturer.getSources({ types: ['window'] });
await expect(promise1).to.eventually.be.fulfilled();
@@ -44,7 +44,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl
@@ -44,7 +44,7 @@ describe('desktopCapturer', () => {
});
// Linux doesn't return any window sources.
@@ -27,7 +27,7 @@
const w2 = new BrowserWindow({ width: 200, height: 200 });
await w2.loadURL('about:blank');
@@ -56,7 +56,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl
@@ -56,7 +56,7 @@ describe('desktopCapturer', () => {
}
});
@@ -36,7 +36,7 @@
const displays = screen.getAllDisplays();
const sources = await desktopCapturer.getSources({ types: ['screen'] });
expect(sources).to.be.an('array').of.length(displays.length);
@@ -99,7 +99,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl
@@ -99,7 +99,7 @@ describe('desktopCapturer', () => {
});
// Linux doesn't return any window sources.
@@ -45,7 +45,7 @@
const w2 = new BrowserWindow({ show: false, width: 100, height: 100, webPreferences: { contextIsolation: false } });
const wShown = once(w2, 'show');
const wFocused = once(w2, 'focus');
@@ -123,7 +123,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl
@@ -123,7 +123,7 @@ describe('desktopCapturer', () => {
});
// Linux doesn't return any window sources.
@@ -54,7 +54,7 @@
const w2 = new BrowserWindow({ show: false, width: 100, height: 100, webPreferences: { contextIsolation: false } });
const wShown = once(w2, 'show');
const wFocused = once(w2, 'focus');
@@ -169,7 +169,7 @@ ifdescribe(!process.arch.includes('arm') && process.pl
@@ -169,7 +169,7 @@ describe('desktopCapturer', () => {
});
// Linux doesn't return any window sources.
@@ -63,3 +63,12 @@
// DesktopCapturer.getSources() is guaranteed to return in the correct
// z-order from foreground to background.
const MAX_WIN = 4;
@@ -256,7 +256,7 @@ describe('desktopCapturer', () => {
});
// Linux doesn't return any window sources.
- ifdescribe(process.platform !== 'linux')('fetchWindowIcons', function () {
+ ifdescribe(process.platform !== 'linux' && process.platform !== 'freebsd')('fetchWindowIcons', function () {
// Tests are sequentially dependent
this.bail(true);
let w: BrowserWindow;
@@ -1,6 +1,6 @@
--- electron/spec/api-protocol-spec.ts.orig 2025-11-13 22:50:46 UTC
--- electron/spec/api-protocol-spec.ts.orig 2026-04-15 14:05:49 UTC
+++ electron/spec/api-protocol-spec.ts
@@ -1755,7 +1755,7 @@ describe('protocol module', () => {
@@ -1757,7 +1757,7 @@ describe('protocol module', () => {
// TODO(nornagon): this test doesn't pass on Linux currently, investigate.
// test is also flaky on CI on macOS so it is currently disabled there as well.
@@ -1,4 +1,4 @@
--- electron/spec/chromium-spec.ts.orig 2026-03-26 20:19:14 UTC
--- electron/spec/chromium-spec.ts.orig 2026-04-15 14:05:49 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', () => {
@@ -3346,12 +3346,12 @@ describe('font fallback', () => {
@@ -3412,12 +3412,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>
@@ -3904,7 +3904,7 @@ describe('paste execCommand', () => {
@@ -3970,7 +3970,7 @@ describe('paste execCommand', () => {
});
});
@@ -1,6 +1,6 @@
--- services/device/public/cpp/device_features.cc.orig 2026-01-07 00:52:53 UTC
--- services/device/public/cpp/device_features.cc.orig 2026-04-19 04:41:10 UTC
+++ services/device/public/cpp/device_features.cc
@@ -131,7 +131,7 @@ BASE_FEATURE(kAutomaticUsbDetach, base::FEATURE_ENABLE
@@ -137,7 +137,7 @@ BASE_FEATURE(kAutomaticUsbDetach, base::FEATURE_ENABLE
// a USB interface is busy.
#if BUILDFLAG(IS_ANDROID)
BASE_FEATURE(kAutomaticUsbDetach, base::FEATURE_ENABLED_BY_DEFAULT);
@@ -1,6 +1,6 @@
--- services/device/public/cpp/device_features.h.orig 2025-04-22 20:15:27 UTC
--- services/device/public/cpp/device_features.h.orig 2026-04-19 04:41:10 UTC
+++ services/device/public/cpp/device_features.h
@@ -53,7 +53,7 @@ DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermis
@@ -55,7 +55,7 @@ DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermis
DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermissionSupportEnabled();
+4 -4
View File
@@ -1,4 +1,4 @@
--- v8/BUILD.gn.orig 2026-01-07 00:52:53 UTC
--- v8/BUILD.gn.orig 2026-04-19 04:41:10 UTC
+++ v8/BUILD.gn
@@ -999,6 +999,8 @@ external_v8_defines = [
"V8_TARGET_OS_MACOS",
@@ -30,7 +30,7 @@
]
}
}
@@ -2657,6 +2664,12 @@ template("run_mksnapshot") {
@@ -2659,6 +2666,12 @@ template("run_mksnapshot") {
if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) {
args += [ "--reorder-builtins" ]
}
@@ -43,7 +43,7 @@
}
# This is needed to distinguish between generating code for the simulator
@@ -6934,7 +6947,7 @@ v8_component("v8_libbase") {
@@ -6936,7 +6949,7 @@ v8_component("v8_libbase") {
}
}
@@ -52,7 +52,7 @@
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
@@ -6945,6 +6958,18 @@ v8_component("v8_libbase") {
@@ -6947,6 +6960,18 @@ v8_component("v8_libbase") {
"dl",
"rt",
]