From nobody Thu Oct 24 11:31:59 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XZ3fS11ZVz5bNNK; Thu, 24 Oct 2024 11:32:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZ3fS0rHHz4vhJ; Thu, 24 Oct 2024 11:32:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729769520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N74SUN1zBzTjYJ6l6WosMy4hQT7J5X1HU6TW7nQZDtA=; b=Ntz9uwYH+qgW++LdoZmNvqvG43U5fO464vU55kHNPf0CojHoSi+uWTIDWJ+mvSZ5sI3b3u TaXgTebHkFYL6CDY+aR4MaEHL4uq83Gu8+XMj09bUVGVBzQpKTDPW2e1vU0yMcUKraO4hA gfS2N8U85aKES8blZVm/WTJiTkTzfFUf3QPQebZJfTjMqn4ih12PuaDmNhPlHw5ueYjXDu 1mBzHbbn5DAI0Cny/cntSz1rDq3sf8nHcbWvdmDkKwYQWpjdFNL04z9SmYBul+9cvrolnV xIzNAeRuERyI7vs6tQTq2i86VMRLheFQW+0v8IcidSuKBZVB8TJ+FE1ofHUcnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729769520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N74SUN1zBzTjYJ6l6WosMy4hQT7J5X1HU6TW7nQZDtA=; b=j8VCLb03oODV81cuCkP4ByiiJm17e3doXoUYjdqTWNa9WpcBVFrBwRZjjcdqTSaYy1eAEr Bzmc+OcrcvaBl3pO6NHFPsbBCXRlA6G+xIPBXi/WuLtMZ53SEKF+Uuw3//ueQhFkw7rNZM wjlaAUwCvUNJl4Wu38QjgYm2xQCjnea2Xrq0V9upPkRltsQy2Fga3t0ASZXsI/OB1vNeGM KGOCIbQhDHS0Wlt0JpASQB1wkLZS+wtIDlyrc8FsNQfeuk4HmripABeV0GlxS07L1tCpTA SPhXlqI+xn7/MrH5gErpFzkp2wipICt/BRJpwaeIrhKyJOShhEKW/Y/cfCznNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729769520; a=rsa-sha256; cv=none; b=WwedBX8XWNSQ/lf5Dbgy+x6JUiPAgL0WjPirCNZD56rmUiH+t2l/3kq/R8dtWZ8yE9p9mP Rmx2Xep24zBHIb75iFxFubpFuuiLMo4xC+8S3GDt5ZAKiV+IlZ0vJ+y5dEuMiiAoNzA21Y RRfa8vLK/Wsu/JPMaP7p275hzR8cP9wXeEVR4zFtph49f6a8C/km8kstwPX3BbC/ZymNIW J3V8tApcFcs6AQLmZ45WW0T4aQY2h2aH2b/ljFH5WgTcC7K3px54+9IVy+MnX8OBSauaEW wDi0ixumGUTCJoOxuNB5jDVQH4McExMfNS9I09/vk5q/kMKE5hacJNmdF4z7uw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XZ3fS0RfMzh6H; Thu, 24 Oct 2024 11:32:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49OBW0Xf065528; Thu, 24 Oct 2024 11:32:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49OBVxvO065525; Thu, 24 Oct 2024 11:31:59 GMT (envelope-from git) Date: Thu, 24 Oct 2024 11:31:59 GMT Message-Id: <202410241131.49OBVxvO065525@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 0deb68b9a6f3 - main - devel/electron32: update to 32.2.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0deb68b9a6f37e1f8f1fc24f6c0ea909cef89794 Auto-Submitted: auto-generated The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=0deb68b9a6f37e1f8f1fc24f6c0ea909cef89794 commit 0deb68b9a6f37e1f8f1fc24f6c0ea909cef89794 Author: Hiroki Tagato AuthorDate: 2024-10-24 11:30:07 +0000 Commit: Hiroki Tagato CommitDate: 2024-10-24 11:31:43 +0000 devel/electron32: update to 32.2.2 Changelog: https://github.com/electron/electron/releases/tag/v32.2.2 Reported by: GitHub (watch releases) MFH: 2024Q4 Security: cc068959-ce2b-42eb-81ed-055551fe0e51 --- devel/electron32/Makefile.version | 2 +- devel/electron32/distinfo | 10 +++---- ...-electron_shell_app_electron__main__delegate.cc | 10 +++---- ...electron_shell_browser_native__window__views.cc | 34 +++++++++++----------- .../patch-electron_spec_api-browser-window-spec.ts | 26 ++++++++--------- ...patch-electron_spec_api-utility-process-spec.ts | 6 ++-- .../files/patch-electron_spec_chromium-spec.ts | 15 ++++++++-- .../files/patch-v8_src_execution_isolate.cc | 4 +-- 8 files changed, 58 insertions(+), 49 deletions(-) diff --git a/devel/electron32/Makefile.version b/devel/electron32/Makefile.version index 0148c6ec2b57..9bd39e765638 100644 --- a/devel/electron32/Makefile.version +++ b/devel/electron32/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 32.2.1 +ELECTRON_VER= 32.2.2 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron32/distinfo b/devel/electron32/distinfo index fa916d484d0d..ba9d738df636 100644 --- a/devel/electron32/distinfo +++ b/devel/electron32/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1729308366 +TIMESTAMP = 1729714939 SHA256 (electron/chromium-128.0.6613.186.tar.xz.0) = 3ed399ba626343eb1a522939b16ded1ff5b553b477bd37e48710371000fa294b SIZE (electron/chromium-128.0.6613.186.tar.xz.0) = 2000000000 SHA256 (electron/chromium-128.0.6613.186.tar.xz.1) = 5986cf222802789f16b81759b7e1104edc61619a422c82c979d1268b90d7e415 @@ -7,10 +7,10 @@ SHA256 (electron/chromium-128.0.6613.186.tar.xz.2) = 9d48a4305a6a26b917476ff517b SIZE (electron/chromium-128.0.6613.186.tar.xz.2) = 766712880 SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (electron/electron-yarn-cache-32.2.1.tar.xz) = 0dd35d16479c5acc3105302a1ccd76fe00cd82179e51f2e1e016908d7c2a5cf1 -SIZE (electron/electron-yarn-cache-32.2.1.tar.xz) = 32242840 -SHA256 (electron/electron-electron-v32.2.1_GH0.tar.gz) = f884ade1f7466452d710be6ace90326a6a9f47c9aab8080ef03fb629c40d4f30 -SIZE (electron/electron-electron-v32.2.1_GH0.tar.gz) = 13890166 +SHA256 (electron/electron-yarn-cache-32.2.2.tar.xz) = 0dd35d16479c5acc3105302a1ccd76fe00cd82179e51f2e1e016908d7c2a5cf1 +SIZE (electron/electron-yarn-cache-32.2.2.tar.xz) = 32242840 +SHA256 (electron/electron-electron-v32.2.2_GH0.tar.gz) = fea7a470004300c1374c5f3b7487f1eb58a1f31a8491dd8778719784a82ce125 +SIZE (electron/electron-electron-v32.2.2_GH0.tar.gz) = 13897256 SHA256 (electron/nodejs-node-v20.18.0_GH0.tar.gz) = 651bb82f6af18084070893559643759165ce050b5839f830d4cc098130d3ad89 SIZE (electron/nodejs-node-v20.18.0_GH0.tar.gz) = 115526827 SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb diff --git a/devel/electron32/files/patch-electron_shell_app_electron__main__delegate.cc b/devel/electron32/files/patch-electron_shell_app_electron__main__delegate.cc index ff2525f031fe..87787bcf36dd 100644 --- a/devel/electron32/files/patch-electron_shell_app_electron__main__delegate.cc +++ b/devel/electron32/files/patch-electron_shell_app_electron__main__delegate.cc @@ -1,4 +1,4 @@ ---- electron/shell/app/electron_main_delegate.cc.orig 2024-09-04 18:50:02 UTC +--- electron/shell/app/electron_main_delegate.cc.orig 2024-10-22 17:22:08 UTC +++ electron/shell/app/electron_main_delegate.cc @@ -59,13 +59,13 @@ #include "chrome/child/v8_crashpad_support_win.h" @@ -25,7 +25,7 @@ case DIR_APP_DATA: { auto env = base::Environment::Create(); cur = base::nix::GetXDGDirectory( -@@ -289,7 +289,7 @@ std::optional ElectronMainDelegate::BasicStartupC +@@ -283,7 +283,7 @@ std::optional ElectronMainDelegate::BasicStartupC base::win::PinUser32(); #endif @@ -34,7 +34,7 @@ // Check for --no-sandbox parameter when running as root. if (getuid() == 0 && IsSandboxEnabled(command_line)) LOG(FATAL) << "Running as root without --" -@@ -339,7 +339,7 @@ void ElectronMainDelegate::PreSandboxStartup() { +@@ -333,7 +333,7 @@ void ElectronMainDelegate::PreSandboxStartup() { /* is_preinit = */ IsBrowserProcess() || IsZygoteProcess()); #endif @@ -43,7 +43,7 @@ crash_reporter::InitializeCrashKeys(); #endif -@@ -374,7 +374,7 @@ void ElectronMainDelegate::PreSandboxStartup() { +@@ -368,7 +368,7 @@ void ElectronMainDelegate::PreSandboxStartup() { } #endif @@ -52,7 +52,7 @@ crash_keys::SetCrashKeysFromCommandLine(*command_line); crash_keys::SetPlatformCrashKey(); #endif -@@ -409,7 +409,7 @@ std::optional ElectronMainDelegate::PreBrowserMai +@@ -403,7 +403,7 @@ std::optional ElectronMainDelegate::PreBrowserMai #if BUILDFLAG(IS_MAC) RegisterAtomCrApp(); #endif diff --git a/devel/electron32/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron32/files/patch-electron_shell_browser_native__window__views.cc index 68b6cc95bd67..5197818d537a 100644 --- a/devel/electron32/files/patch-electron_shell_browser_native__window__views.cc +++ b/devel/electron32/files/patch-electron_shell_browser_native__window__views.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/native_window_views.cc.orig 2024-09-17 16:52:44 UTC +--- electron/shell/browser/native_window_views.cc.orig 2024-10-22 17:22:08 UTC +++ electron/shell/browser/native_window_views.cc @@ -53,7 +53,7 @@ #include "ui/wm/core/shadow_types.h" @@ -62,8 +62,8 @@ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (global_menu_bar_) global_menu_bar_->OnWindowMapped(); - #endif -@@ -554,7 +554,7 @@ void NativeWindowViews::Hide() { + +@@ -559,7 +559,7 @@ void NativeWindowViews::Hide() { NotifyWindowHide(); @@ -72,7 +72,7 @@ if (global_menu_bar_) global_menu_bar_->OnWindowUnmapped(); #endif -@@ -585,7 +585,7 @@ bool NativeWindowViews::IsEnabled() const { +@@ -590,7 +590,7 @@ bool NativeWindowViews::IsEnabled() const { bool NativeWindowViews::IsEnabled() const { #if BUILDFLAG(IS_WIN) return ::IsWindowEnabled(GetAcceleratedWidget()); @@ -81,7 +81,7 @@ if (IsX11()) return !event_disabler_.get(); NOTIMPLEMENTED(); -@@ -641,7 +641,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable +@@ -646,7 +646,7 @@ void NativeWindowViews::SetEnabledInternal(bool enable #endif } @@ -90,7 +90,7 @@ void NativeWindowViews::Maximize() { if (IsVisible()) { widget()->Maximize(); -@@ -781,7 +781,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou +@@ -786,7 +786,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou } #endif @@ -99,7 +99,7 @@ // On Linux and Windows the minimum and maximum size should be updated with // window size when window is not resizable. if (!resizable_) { -@@ -1041,7 +1041,7 @@ bool NativeWindowViews::IsClosable() const { +@@ -1046,7 +1046,7 @@ bool NativeWindowViews::IsClosable() const { return false; } return !(info.fState & MFS_DISABLED); @@ -108,7 +108,7 @@ return true; #endif } -@@ -1081,7 +1081,7 @@ void NativeWindowViews::Center() { +@@ -1086,7 +1086,7 @@ void NativeWindowViews::Center() { // for now to avoid breaking API contract, but should consider the long // term plan for this aligning with upstream. void NativeWindowViews::Center() { @@ -117,7 +117,7 @@ auto display = display::Screen::GetScreen()->GetDisplayNearestWindow(GetNativeWindow()); gfx::Rect window_bounds_in_screen = display.work_area(); -@@ -1304,7 +1304,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men +@@ -1309,7 +1309,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men } void NativeWindowViews::SetMenu(ElectronMenuModel* menu_model) { @@ -126,7 +126,7 @@ // Remove global menu bar. if (global_menu_bar_ && menu_model == nullptr) { global_menu_bar_.reset(); -@@ -1359,7 +1359,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow* +@@ -1364,7 +1364,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow* void NativeWindowViews::SetParentWindow(NativeWindow* parent) { NativeWindow::SetParentWindow(parent); @@ -135,7 +135,7 @@ if (IsX11()) { auto* connection = x11::Connection::Get(); connection->SetProperty( -@@ -1405,7 +1405,7 @@ void NativeWindowViews::SetProgressBar(double progress +@@ -1410,7 +1410,7 @@ void NativeWindowViews::SetProgressBar(double progress NativeWindow::ProgressState state) { #if BUILDFLAG(IS_WIN) taskbar_host_.SetProgressBar(GetAcceleratedWidget(), progress, state); @@ -144,7 +144,7 @@ if (unity::IsRunning()) { unity::SetProgressFraction(progress); } -@@ -1476,7 +1476,7 @@ bool NativeWindowViews::IsVisibleOnAllWorkspaces() con +@@ -1481,7 +1481,7 @@ bool NativeWindowViews::IsVisibleOnAllWorkspaces() con } bool NativeWindowViews::IsVisibleOnAllWorkspaces() const { @@ -153,7 +153,7 @@ if (IsX11()) { // Use the presence/absence of _NET_WM_STATE_STICKY in _NET_WM_STATE to // determine whether the current window is visible on all workspaces. -@@ -1499,7 +1499,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM +@@ -1504,7 +1504,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM #if BUILDFLAG(IS_WIN) window_handle = reinterpret_cast(accelerated_widget); @@ -162,7 +162,7 @@ window_handle = static_cast(accelerated_widget); #endif aura::WindowTreeHost* const host = -@@ -1597,7 +1597,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC +@@ -1602,7 +1602,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC SendMessage(hwnd, WM_SETICON, ICON_BIG, reinterpret_cast(app_icon_.get())); } @@ -171,7 +171,7 @@ void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) { auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget( GetAcceleratedWidget()); -@@ -1683,7 +1683,7 @@ bool NativeWindowViews::CanMinimize() const { +@@ -1688,7 +1688,7 @@ bool NativeWindowViews::CanMinimize() const { bool NativeWindowViews::CanMinimize() const { #if BUILDFLAG(IS_WIN) return minimizable_; @@ -180,7 +180,7 @@ return true; #endif } -@@ -1739,7 +1739,7 @@ void NativeWindowViews::HandleKeyboardEvent( +@@ -1744,7 +1744,7 @@ void NativeWindowViews::HandleKeyboardEvent( if (widget_destroyed_) return; @@ -189,7 +189,7 @@ if (event.windows_key_code == ui::VKEY_BROWSER_BACK) NotifyWindowExecuteAppCommand(kBrowserBackward); else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD) -@@ -1758,7 +1758,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e +@@ -1763,7 +1763,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e // Alt+Click should not toggle menu bar. root_view_.ResetAltState(); diff --git a/devel/electron32/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron32/files/patch-electron_spec_api-browser-window-spec.ts index 1c91572b0c7f..0beb26d4a27a 100644 --- a/devel/electron32/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron32/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2024-10-09 13:53:06 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2024-10-22 17:22:08 UTC +++ electron/spec/api-browser-window-spec.ts @@ -67,7 +67,7 @@ describe('BrowserWindow module', () => { }).not.to.throw(); @@ -63,7 +63,7 @@ it('checks normal bounds when minimized', async () => { const bounds = w.getBounds(); const minimize = once(w, 'minimize'); -@@ -2902,7 +2902,7 @@ describe('BrowserWindow module', () => { +@@ -2918,7 +2918,7 @@ describe('BrowserWindow module', () => { describe('BrowserWindow.setOpacity(opacity)', () => { afterEach(closeAllWindows); @@ -72,7 +72,7 @@ it('make window with initial opacity', () => { const w = new BrowserWindow({ show: false, opacity: 0.5 }); expect(w.getOpacity()).to.equal(0.5); -@@ -2928,7 +2928,7 @@ describe('BrowserWindow module', () => { +@@ -2944,7 +2944,7 @@ describe('BrowserWindow module', () => { }); }); @@ -81,7 +81,7 @@ it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3139,7 +3139,7 @@ describe('BrowserWindow module', () => { +@@ -3155,7 +3155,7 @@ describe('BrowserWindow module', () => { expect(overlayRectPreMax.height).to.equal(size); // 'maximize' event is not emitted on Linux in CI. @@ -90,7 +90,7 @@ const maximize = once(w, 'maximize'); w.show(); w.maximize(); -@@ -3205,7 +3205,7 @@ describe('BrowserWindow module', () => { +@@ -3221,7 +3221,7 @@ describe('BrowserWindow module', () => { expect(preMaxHeight).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(); -@@ -3870,7 +3870,7 @@ describe('BrowserWindow module', () => { +@@ -3886,7 +3886,7 @@ describe('BrowserWindow module', () => { expect(test.nodeTimers).to.equal(true); expect(test.nodeUrl).to.equal(true); @@ -108,7 +108,7 @@ expect(test.creationTime).to.be.null('creation time'); expect(test.systemMemoryInfo).to.be.null('system memory info'); } else { -@@ -4375,7 +4375,7 @@ describe('BrowserWindow module', () => { +@@ -4391,7 +4391,7 @@ describe('BrowserWindow module', () => { }); }); @@ -117,7 +117,7 @@ afterEach(closeAllWindows); it('emits an event when window is maximized', async () => { const w = new BrowserWindow({ show: false }); -@@ -4646,7 +4646,7 @@ describe('BrowserWindow module', () => { +@@ -4662,7 +4662,7 @@ describe('BrowserWindow module', () => { // TODO(zcbenz): // This test does not run on Linux CI. See: // https://github.com/electron/electron/issues/28699 @@ -126,7 +126,7 @@ const w = new BrowserWindow({}); const maximize = once(w, 'maximize'); w.maximize(); -@@ -4663,7 +4663,7 @@ describe('BrowserWindow module', () => { +@@ -4679,7 +4679,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI @@ -135,7 +135,7 @@ afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -4700,7 +4700,7 @@ describe('BrowserWindow module', () => { +@@ -4716,7 +4716,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 @@ -144,7 +144,7 @@ const w = new BrowserWindow(); const minimize = once(w, 'minimize'); w.minimize(); -@@ -5174,7 +5174,7 @@ describe('BrowserWindow module', () => { +@@ -5190,7 +5190,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. @@ -153,7 +153,7 @@ const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -5313,7 +5313,7 @@ describe('BrowserWindow module', () => { +@@ -5329,7 +5329,7 @@ describe('BrowserWindow module', () => { }); }); @@ -162,7 +162,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -6478,7 +6478,7 @@ describe('BrowserWindow module', () => { +@@ -6494,7 +6494,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows); diff --git a/devel/electron32/files/patch-electron_spec_api-utility-process-spec.ts b/devel/electron32/files/patch-electron_spec_api-utility-process-spec.ts index 7bea0491da99..49a2f0e38239 100644 --- a/devel/electron32/files/patch-electron_spec_api-utility-process-spec.ts +++ b/devel/electron32/files/patch-electron_spec_api-utility-process-spec.ts @@ -1,6 +1,6 @@ ---- electron/spec/api-utility-process-spec.ts.orig 2024-10-09 13:53:06 UTC +--- electron/spec/api-utility-process-spec.ts.orig 2024-10-22 17:22:08 UTC +++ electron/spec/api-utility-process-spec.ts -@@ -409,7 +409,7 @@ describe('utilityProcess module', () => { +@@ -419,7 +419,7 @@ describe('utilityProcess module', () => { expect(output).to.include(result); }); @@ -9,7 +9,7 @@ const message = 'Message from utility process'; const child = utilityProcess.fork(path.join(fixturesPath, 'expose-main-process-module.js')); await once(child, 'spawn'); -@@ -446,7 +446,7 @@ describe('utilityProcess module', () => { +@@ -456,7 +456,7 @@ describe('utilityProcess module', () => { await closeWindow(w); }); diff --git a/devel/electron32/files/patch-electron_spec_chromium-spec.ts b/devel/electron32/files/patch-electron_spec_chromium-spec.ts index 187e90b73700..e73da56045a6 100644 --- a/devel/electron32/files/patch-electron_spec_chromium-spec.ts +++ b/devel/electron32/files/patch-electron_spec_chromium-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/chromium-spec.ts.orig 2024-10-09 13:53:06 UTC +--- electron/spec/chromium-spec.ts.orig 2024-10-22 17:22:08 UTC +++ electron/spec/chromium-spec.ts @@ -474,13 +474,13 @@ describe('command line switches', () => { it('should not set an invalid locale', async () => testLocale('asdfkl', `${currentLocale}|${currentSystemLocale}|${currentPreferredLanguages}`)); @@ -18,7 +18,16 @@ }); describe('--remote-debugging-pipe switch', () => { -@@ -2816,12 +2816,12 @@ describe('font fallback', () => { +@@ -567,7 +567,7 @@ describe('command line switches', () => { + + // Disable the test on linux arm and arm64 to avoid startup crash + // https://github.com/electron/electron/issues/44293#issuecomment-2420077154 +- ifit(process.platform !== 'linux' || (process.arch !== 'arm' && process.arch !== 'arm64'))('creates startup trace', async () => { ++ ifit((process.platform !== 'linux' && process.platform !== 'freebsd') || (process.arch !== 'arm' && process.arch !== 'arm64'))('creates startup trace', async () => { + const rc = await startRemoteControlApp(['--trace-startup=*', `--trace-startup-file=${outputFilePath}`, '--trace-startup-duration=1', '--enable-logging']); + const stderrComplete = new Promise(resolve => { + let stderr = ''; +@@ -2848,12 +2848,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 +42,7 @@ const html = ` -@@ -3215,7 +3215,7 @@ describe('navigator.clipboard.write', () => { +@@ -3247,7 +3247,7 @@ describe('navigator.clipboard.write', () => { }); }); diff --git a/devel/electron32/files/patch-v8_src_execution_isolate.cc b/devel/electron32/files/patch-v8_src_execution_isolate.cc index 85b05d5cacfc..e52b12e4fbcb 100644 --- a/devel/electron32/files/patch-v8_src_execution_isolate.cc +++ b/devel/electron32/files/patch-v8_src_execution_isolate.cc @@ -1,4 +1,4 @@ ---- v8/src/execution/isolate.cc.orig 2024-09-25 09:19:35 UTC +--- v8/src/execution/isolate.cc.orig 2024-10-23 20:48:51 UTC +++ v8/src/execution/isolate.cc @@ -159,6 +159,10 @@ #include "src/execution/simulator-base.h" @@ -11,7 +11,7 @@ extern "C" const uint8_t v8_Default_embedded_blob_code_[]; extern "C" uint32_t v8_Default_embedded_blob_code_size_; extern "C" const uint8_t v8_Default_embedded_blob_data_[]; -@@ -4828,6 +4832,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { +@@ -4835,6 +4839,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { uint32_t code_size = DefaultEmbeddedBlobCodeSize(); const uint8_t* data = DefaultEmbeddedBlobData(); uint32_t data_size = DefaultEmbeddedBlobDataSize();