Date: Sat, 13 Jun 2026 03:58:39 +0000 From: Hiroki Tagato <tagattie@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b71e196a76e0 - main - devel/electron41: Update to 41.7.2 Message-ID: <6a2cd56f.3ab9f.b7b30fc@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=b71e196a76e03fe8916f0e1fd74b3e5ca1ad77a8 commit b71e196a76e03fe8916f0e1fd74b3e5ca1ad77a8 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2026-06-13 03:57:12 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2026-06-13 03:58:30 +0000 devel/electron41: Update to 41.7.2 Changelog: https://github.com/electron/electron/releases/tag/v41.7.2 Reported by: GitHub (watch releases) --- devel/electron41/Makefile | 1 - devel/electron41/Makefile.version | 2 +- devel/electron41/distinfo | 10 ++-- .../electron41/files/packagejsons/npm/package.json | 8 +-- .../files/patch-build_config_compiler_BUILD.gn | 18 +++---- ...electron_shell_browser_native__window__views.cc | 60 ++++++++-------------- .../patch-electron_spec_api-browser-window-spec.ts | 44 ++++++++-------- 7 files changed, 62 insertions(+), 81 deletions(-) diff --git a/devel/electron41/Makefile b/devel/electron41/Makefile index b6fd53353055..3da352dcf74d 100644 --- a/devel/electron41/Makefile +++ b/devel/electron41/Makefile @@ -1,7 +1,6 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER} -PORTREVISION= 1 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= devel diff --git a/devel/electron41/Makefile.version b/devel/electron41/Makefile.version index 1acd896edec8..497aa1224a5d 100644 --- a/devel/electron41/Makefile.version +++ b/devel/electron41/Makefile.version @@ -1,2 +1,2 @@ -ELECTRON_VER= 41.7.1 +ELECTRON_VER= 41.7.2 ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//} diff --git a/devel/electron41/distinfo b/devel/electron41/distinfo index 83e32e487116..90a17b932f31 100644 --- a/devel/electron41/distinfo +++ b/devel/electron41/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1779885622 +TIMESTAMP = 1781271383 SHA256 (electron/chromium-146.0.7680.216.tar.xz.0) = 975c7b752e7b89c72b6e85f458db893c84bf3de42b7eb954bea2b6fda8e9786b SIZE (electron/chromium-146.0.7680.216.tar.xz.0) = 2000000000 SHA256 (electron/chromium-146.0.7680.216.tar.xz.1) = 35b9287cf3cdefcf443f5b6e96198a82de7d89b8f33b6784f74ab85957f56f01 @@ -341,10 +341,10 @@ 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/electron41-41.7.1-node-modules.tar.xz) = ebf3b95d92c5b81736b09d4f9cbdd5d240558fdb013b5aa4d7afadb4591be577 -SIZE (electron/electron41-41.7.1-node-modules.tar.xz) = 70931799 -SHA256 (electron/electron-electron-v41.7.1_GH0.tar.gz) = 5b352c64e5799173ea2e87d2d4509e2cd758a5b4d0c4d939498bc3ac0439fc07 -SIZE (electron/electron-electron-v41.7.1_GH0.tar.gz) = 18867696 +SHA256 (electron/electron41-41.7.2-node-modules.tar.xz) = ebf3b95d92c5b81736b09d4f9cbdd5d240558fdb013b5aa4d7afadb4591be577 +SIZE (electron/electron41-41.7.2-node-modules.tar.xz) = 70931799 +SHA256 (electron/electron-electron-v41.7.2_GH0.tar.gz) = 21c42494c5e7acd3d71fe1b8ddfe8c04e286b90c3f304e6f7c0c5caf79b5ff1d +SIZE (electron/electron-electron-v41.7.2_GH0.tar.gz) = 18904822 SHA256 (electron/nodejs-node-v24.15.0_GH0.tar.gz) = 5cfb169b21878f50876e0c6a77db1a5e40d733960232682bebb5e267246a2e80 SIZE (electron/nodejs-node-v24.15.0_GH0.tar.gz) = 126716937 SHA256 (electron/nodejs-nan-675cefebca42410733da8a454c8d9391fcebfbc2_GH0.tar.gz) = 3983c68f19ed75dd37dc228eab385093ae2533132730f253f0c3d19ff10788e3 diff --git a/devel/electron41/files/packagejsons/npm/package.json b/devel/electron41/files/packagejsons/npm/package.json index 6d453ce21d9a..f694ae4bfe7d 100644 --- a/devel/electron41/files/packagejsons/npm/package.json +++ b/devel/electron41/files/packagejsons/npm/package.json @@ -18,11 +18,11 @@ "install.js" ], "dependencies": { - "@electron/get": "^2.0.0", - "@types/node": "^24.9.0", - "extract-zip": "^2.0.1" + "@electron-internal/extract-zip": "^1.0.1", + "@electron/get": "^5.0.0", + "@types/node": "^24.9.0" }, "engines": { - "node": ">= 12.20.55" + "node": ">= 22.12.0" } } diff --git a/devel/electron41/files/patch-build_config_compiler_BUILD.gn b/devel/electron41/files/patch-build_config_compiler_BUILD.gn index bc2fa422e3fb..7fb02afc785b 100644 --- a/devel/electron41/files/patch-build_config_compiler_BUILD.gn +++ b/devel/electron41/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/compiler/BUILD.gn.orig 2026-03-13 16:54:03 UTC +--- build/config/compiler/BUILD.gn.orig 2026-06-12 13:42:34 UTC +++ build/config/compiler/BUILD.gn @@ -202,7 +202,7 @@ declare_args() { # This greatly reduces the size of debug builds, at the cost of @@ -56,7 +56,7 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] if (save_reproducers_on_lld_crash && use_lld) { ldflags += [ -@@ -1288,7 +1295,7 @@ config("compiler_cpu_abi") { +@@ -1298,7 +1305,7 @@ config("compiler_cpu_abi") { # CPU architecture. We may or may not be doing a cross compile now, so for # simplicity we always explicitly set the architecture. if (current_cpu == "x64") { @@ -65,7 +65,7 @@ cflags += [ "--target=x86_64-unknown-linux-gnu" ] ldflags += [ "--target=x86_64-unknown-linux-gnu" ] } else { -@@ -1302,7 +1309,7 @@ config("compiler_cpu_abi") { +@@ -1312,7 +1319,7 @@ config("compiler_cpu_abi") { ldflags += [ "-march=$cros_target_cpu_arch" ] } } else if (current_cpu == "x86") { @@ -74,7 +74,7 @@ cflags += [ "--target=i386-unknown-linux-gnu" ] ldflags += [ "--target=i386-unknown-linux-gnu" ] } else { -@@ -1314,7 +1321,7 @@ config("compiler_cpu_abi") { +@@ -1324,7 +1331,7 @@ config("compiler_cpu_abi") { "-msse3", ] } else if (current_cpu == "arm") { @@ -83,7 +83,7 @@ cflags += [ "--target=arm-linux-gnueabihf" ] ldflags += [ "--target=arm-linux-gnueabihf" ] } -@@ -1323,7 +1330,7 @@ config("compiler_cpu_abi") { +@@ -1333,7 +1340,7 @@ config("compiler_cpu_abi") { "-mfloat-abi=$arm_float_abi", ] } else if (current_cpu == "arm64") { @@ -92,7 +92,7 @@ cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] } -@@ -1735,7 +1742,7 @@ config("clang_revision") { +@@ -1745,7 +1752,7 @@ config("clang_revision") { } config("clang_revision") { @@ -101,7 +101,7 @@ current_os != "zos") { _perform_consistency_checks = current_toolchain == default_toolchain if (llvm_force_head_revision) { -@@ -1860,13 +1867,13 @@ config("sanitize_c_array_bounds") { +@@ -1870,13 +1877,13 @@ config("sanitize_c_array_bounds") { # sanitizer) is enabled, they then do expensive debug like operations. We # want to suppress this behaviour since we want to keep performance costs # as low as possible while having these checks. @@ -117,7 +117,7 @@ ] } } -@@ -2980,7 +2987,7 @@ config("afdo") { +@@ -2990,7 +2997,7 @@ config("afdo") { # There are some targeted places that AFDO regresses, so we provide a separate # config to allow AFDO to be disabled per-target. config("afdo") { @@ -126,7 +126,7 @@ cflags = [] if (clang_emit_debug_info_for_profiling) { # Add the following flags to generate debug info for profiling. -@@ -3007,7 +3014,7 @@ config("afdo") { +@@ -3017,7 +3024,7 @@ config("afdo") { cflags += [ "-Wno-backend-plugin" ] inputs = [ _clang_sample_profile ] } diff --git a/devel/electron41/files/patch-electron_shell_browser_native__window__views.cc b/devel/electron41/files/patch-electron_shell_browser_native__window__views.cc index c0a8909b8652..08059734c7e6 100644 --- a/devel/electron41/files/patch-electron_shell_browser_native__window__views.cc +++ b/devel/electron41/files/patch-electron_shell_browser_native__window__views.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/native_window_views.cc.orig 2026-05-07 20:19:20 UTC +--- electron/shell/browser/native_window_views.cc.orig 2026-06-08 20:04:38 UTC +++ electron/shell/browser/native_window_views.cc @@ -58,7 +58,7 @@ #include "ui/wm/core/shadow_types.h" @@ -9,7 +9,7 @@ #include "base/notimplemented.h" #include "shell/browser/browser.h" #include "shell/browser/linux/unity_service.h" -@@ -291,7 +291,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: +@@ -290,7 +290,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: params.parent = parent->GetNativeWindow(); params.native_widget = new ElectronDesktopNativeWidgetAura{this, widget()}; @@ -18,7 +18,7 @@ // Set the WM_CLASS and XDG App ID to the same value // for best compatibility with both X11 and Wayland. const auto app_id = platform_util::GetXdgAppId(); -@@ -321,7 +321,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: +@@ -320,7 +320,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: std::string window_type; options.Get(options::kType, &window_type); @@ -27,16 +27,7 @@ // Set _GTK_THEME_VARIANT to dark if we have "dark-theme" option set. if (options.ValueOrDefault(options::kDarkTheme, false)) SetGTKDarkThemeEnabled(true); -@@ -442,7 +442,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper: - if (window) - window->AddPreTargetHandler(this); - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - // The initial params.bounds was applied before the frame view existed, so - // non-client insets weren't accounted for and bounds need to be set again. - if (!GetRestoredFrameBorderInsets().IsEmpty()) -@@ -517,7 +517,7 @@ void NativeWindowViews::SetGTKDarkThemeEnabled(bool us +@@ -512,7 +512,7 @@ void NativeWindowViews::SetGTKDarkThemeEnabled(bool us } void NativeWindowViews::SetGTKDarkThemeEnabled(bool use_dark_theme) { @@ -45,7 +36,7 @@ if (x11_util::IsX11()) { const std::string color = use_dark_theme ? "dark" : "light"; auto* connection = x11::Connection::Get(); -@@ -578,7 +578,7 @@ void NativeWindowViews::Show() { +@@ -573,7 +573,7 @@ void NativeWindowViews::Show() { NotifyWindowShow(); @@ -54,7 +45,7 @@ if (global_menu_bar_) global_menu_bar_->OnWindowMapped(); -@@ -594,7 +594,7 @@ void NativeWindowViews::ShowInactive() { +@@ -589,7 +589,7 @@ void NativeWindowViews::ShowInactive() { NotifyWindowShow(); @@ -63,7 +54,7 @@ if (global_menu_bar_) global_menu_bar_->OnWindowMapped(); -@@ -613,7 +613,7 @@ void NativeWindowViews::Hide() { +@@ -608,7 +608,7 @@ void NativeWindowViews::Hide() { NotifyWindowHide(); @@ -72,7 +63,7 @@ if (global_menu_bar_) global_menu_bar_->OnWindowUnmapped(); #endif -@@ -644,7 +644,7 @@ bool NativeWindowViews::IsEnabled() const { +@@ -639,7 +639,7 @@ bool NativeWindowViews::IsEnabled() const { bool NativeWindowViews::IsEnabled() const { #if BUILDFLAG(IS_WIN) return ::IsWindowEnabled(GetAcceleratedWidget()); @@ -81,7 +72,7 @@ if (x11_util::IsX11()) return !event_disabler_.get(); NOTIMPLEMENTED(); -@@ -869,7 +869,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou +@@ -864,7 +864,7 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bou } #endif @@ -90,7 +81,7 @@ // On Linux and Windows the minimum and maximum size should be updated with // window size when window is not resizable. if (!CanResize()) { -@@ -924,7 +924,7 @@ void NativeWindowViews::SetContentSizeConstraints( +@@ -919,7 +919,7 @@ void NativeWindowViews::SetContentSizeConstraints( // of this to determine whether native widget has initialized. if (widget() && widget()->widget_delegate()) widget()->OnSizeConstraintsChanged(); @@ -99,7 +90,7 @@ if (resizable_) old_size_constraints_ = GetSizeConstraints(); #endif -@@ -1139,7 +1139,7 @@ bool NativeWindowViews::IsClosable() const { +@@ -1134,7 +1134,7 @@ bool NativeWindowViews::IsClosable() const { return false; } return !(info.fState & MFS_DISABLED); @@ -108,16 +99,7 @@ return true; #endif } -@@ -1179,7 +1179,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() { --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - auto display = - display::Screen::Get()->GetDisplayNearestWindow(GetNativeWindow()); - gfx::Rect window_bounds_in_screen = display.work_area(); -@@ -1283,7 +1283,7 @@ void NativeWindowViews::SetBackgroundColor(SkColor bac +@@ -1275,7 +1275,7 @@ void NativeWindowViews::SetBackgroundColor(SkColor bac InvalidateRect(GetAcceleratedWidget(), nullptr, 1); #endif SkColor compositor_color = background_color; @@ -126,7 +108,7 @@ // Widget background needs to stay transparent for CSD shadow regions. LinuxFrameLayout* frame_layout = GetLinuxFrameLayout(); const bool uses_csd = -@@ -1405,7 +1405,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men +@@ -1397,7 +1397,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men } void NativeWindowViews::SetMenu(ElectronMenuModel* menu_model) { @@ -135,7 +117,7 @@ // Remove global menu bar. if (global_menu_bar_ && menu_model == nullptr) { global_menu_bar_.reset(); -@@ -1461,7 +1461,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow* +@@ -1453,7 +1453,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow* void NativeWindowViews::SetParentWindow(NativeWindow* parent) { NativeWindow::SetParentWindow(parent); @@ -144,7 +126,7 @@ if (x11_util::IsX11()) { auto* connection = x11::Connection::Get(); connection->SetProperty( -@@ -1523,7 +1523,7 @@ void NativeWindowViews::SetProgressBar(double progress +@@ -1515,7 +1515,7 @@ void NativeWindowViews::SetProgressBar(double progress NativeWindow::ProgressState state) { #if BUILDFLAG(IS_WIN) taskbar_host_.SetProgressBar(GetAcceleratedWidget(), progress, state); @@ -153,7 +135,7 @@ if (unity::IsRunning()) { unity::SetProgressFraction(progress); } -@@ -1649,7 +1649,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM +@@ -1641,7 +1641,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM #if BUILDFLAG(IS_WIN) window_handle = reinterpret_cast<content::DesktopMediaID::Id>(accelerated_widget); @@ -162,7 +144,7 @@ window_handle = static_cast<uint32_t>(accelerated_widget); #endif aura::WindowTreeHost* const host = -@@ -1779,7 +1779,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC +@@ -1771,7 +1771,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC SendMessage(hwnd, WM_SETICON, ICON_BIG, reinterpret_cast<LPARAM>(app_icon_.get())); } @@ -171,7 +153,7 @@ void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) { auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget( GetAcceleratedWidget()); -@@ -1900,7 +1900,7 @@ bool NativeWindowViews::CanMinimize() const { +@@ -1892,7 +1892,7 @@ bool NativeWindowViews::CanMinimize() const { bool NativeWindowViews::CanMinimize() const { #if BUILDFLAG(IS_WIN) return minimizable_; @@ -180,7 +162,7 @@ return true; #endif } -@@ -1942,7 +1942,7 @@ std::unique_ptr<views::FrameView> NativeWindowViews::C +@@ -1934,7 +1934,7 @@ std::unique_ptr<views::FrameView> NativeWindowViews::C #endif } @@ -189,7 +171,7 @@ LinuxFrameLayout* NativeWindowViews::GetLinuxFrameLayout() { auto* ncv = widget()->non_client_view(); if (!ncv) -@@ -1962,7 +1962,7 @@ void NativeWindowViews::HandleKeyboardEvent( +@@ -1954,7 +1954,7 @@ void NativeWindowViews::HandleKeyboardEvent( if (widget_destroyed_) return; @@ -198,7 +180,7 @@ if (event.windows_key_code == ui::VKEY_BROWSER_BACK) NotifyWindowExecuteAppCommand(kBrowserBackward); else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD) -@@ -1981,7 +1981,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e +@@ -1973,7 +1973,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e // Alt+Click should not toggle menu bar. root_view_.ResetAltState(); diff --git a/devel/electron41/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron41/files/patch-electron_spec_api-browser-window-spec.ts index 99145070ff97..1d9d032c6927 100644 --- a/devel/electron41/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron41/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,6 +1,6 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2026-05-07 20:19:20 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2026-06-08 20:04:38 UTC +++ electron/spec/api-browser-window-spec.ts -@@ -85,7 +85,7 @@ describe('BrowserWindow module', () => { +@@ -96,7 +96,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'); -@@ -342,7 +342,7 @@ describe('BrowserWindow module', () => { +@@ -361,7 +361,7 @@ describe('BrowserWindow module', () => { }); }); @@ -18,7 +18,7 @@ afterEach(closeAllWindows); it('can set content protection', async () => { const w = new BrowserWindow({ show: false }); -@@ -1252,7 +1252,7 @@ describe('BrowserWindow module', () => { +@@ -1271,7 +1271,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; -@@ -1269,7 +1269,7 @@ describe('BrowserWindow module', () => { +@@ -1288,7 +1288,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(); -@@ -1334,7 +1334,7 @@ describe('BrowserWindow module', () => { +@@ -1353,7 +1353,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 }); -@@ -1437,7 +1437,7 @@ describe('BrowserWindow module', () => { +@@ -1456,7 +1456,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 }); -@@ -1941,7 +1941,7 @@ describe('BrowserWindow module', () => { +@@ -1974,7 +1974,7 @@ describe('BrowserWindow module', () => { }); }); @@ -63,7 +63,7 @@ it('checks normal bounds when maximized', async () => { const bounds = w.getBounds(); const maximize = once(w, 'maximize'); -@@ -2159,7 +2159,7 @@ describe('BrowserWindow module', () => { +@@ -2192,7 +2192,7 @@ describe('BrowserWindow module', () => { }); }); @@ -72,7 +72,7 @@ it('checks normal bounds when minimized', async () => { const bounds = w.getBounds(); const minimize = once(w, 'minimize'); -@@ -3256,7 +3256,7 @@ describe('BrowserWindow module', () => { +@@ -3289,7 +3289,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); -@@ -3282,7 +3282,7 @@ describe('BrowserWindow module', () => { +@@ -3315,7 +3315,7 @@ describe('BrowserWindow module', () => { }); }); @@ -90,7 +90,7 @@ it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3496,7 +3496,7 @@ describe('BrowserWindow module', () => { +@@ -3529,7 +3529,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(); -@@ -3562,7 +3562,7 @@ describe('BrowserWindow module', () => { +@@ -3595,7 +3595,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(); -@@ -4264,7 +4264,7 @@ describe('BrowserWindow module', () => { +@@ -4297,7 +4297,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 { -@@ -4780,7 +4780,7 @@ describe('BrowserWindow module', () => { +@@ -4813,7 +4813,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 }); -@@ -5050,7 +5050,7 @@ describe('BrowserWindow module', () => { +@@ -5083,7 +5083,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({}); -@@ -5068,7 +5068,7 @@ describe('BrowserWindow module', () => { +@@ -5101,7 +5101,7 @@ describe('BrowserWindow module', () => { } ); @@ -144,7 +144,7 @@ const w = new BrowserWindow({ show: false }); w.show(); -@@ -5091,7 +5091,7 @@ describe('BrowserWindow module', () => { +@@ -5124,7 +5124,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 }); -@@ -5128,7 +5128,7 @@ describe('BrowserWindow module', () => { +@@ -5161,7 +5161,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(); -@@ -5624,7 +5624,7 @@ describe('BrowserWindow module', () => { +@@ -5657,7 +5657,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'); -@@ -5892,7 +5892,7 @@ describe('BrowserWindow module', () => { +@@ -5925,7 +5925,7 @@ describe('BrowserWindow module', () => { }); }); @@ -180,7 +180,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -7225,7 +7225,7 @@ describe('BrowserWindow module', () => { +@@ -7258,7 +7258,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a2cd56f.3ab9f.b7b30fc>
