diff options
Diffstat (limited to 'devel/electron38/files')
14 files changed, 101 insertions, 57 deletions
diff --git a/devel/electron38/files/patch-build_config_rust.gni b/devel/electron38/files/patch-build_config_rust.gni index b9a27a5bae7e..9babc55bcfe1 100644 --- a/devel/electron38/files/patch-build_config_rust.gni +++ b/devel/electron38/files/patch-build_config_rust.gni @@ -1,6 +1,16 @@ ---- build/config/rust.gni.orig 2025-08-26 20:49:50 UTC +--- build/config/rust.gni.orig 2025-10-13 21:25:57 UTC +++ build/config/rust.gni -@@ -369,7 +369,11 @@ if (is_linux || is_chromeos) { +@@ -62,7 +62,8 @@ declare_args() { + # set this to the output of `rustc -V`. Changing this string will cause all + # Rust targets to be rebuilt, which allows you to update your toolchain and + # not break incremental builds. +- rustc_version = "" ++ rustc_version = exec_script("//build/gn_run_binary.py", ++ [ "${LOCALBASE}/bin/rustc", "-V" ], "trim string") + + # Whether artifacts produced by the Rust compiler can participate in ThinLTO. + # +@@ -369,7 +370,11 @@ if (is_linux || is_chromeos) { } } diff --git a/devel/electron38/files/patch-build_dotfile__settings.gni b/devel/electron38/files/patch-build_dotfile__settings.gni new file mode 100644 index 000000000000..25291df0cb79 --- /dev/null +++ b/devel/electron38/files/patch-build_dotfile__settings.gni @@ -0,0 +1,10 @@ +--- build/dotfile_settings.gni.orig 2025-10-13 21:25:57 UTC ++++ build/dotfile_settings.gni +@@ -24,6 +24,7 @@ build_dotfile_settings = { + "//build/config/mac/mac_sdk.gni", + "//build/config/mac/rules.gni", + "//build/config/posix/BUILD.gn", ++ "//build/config/rust.gni", + "//build/config/win/BUILD.gn", + "//build/config/win/visual_studio_version.gni", + "//build/rust/analyze.gni", diff --git a/devel/electron38/files/patch-build_rust_std_BUILD.gn b/devel/electron38/files/patch-build_rust_std_BUILD.gn index 13c2985f1be5..6c1c09bc621b 100644 --- a/devel/electron38/files/patch-build_rust_std_BUILD.gn +++ b/devel/electron38/files/patch-build_rust_std_BUILD.gn @@ -1,6 +1,14 @@ ---- build/rust/std/BUILD.gn.orig 2025-06-30 07:04:30 UTC +--- build/rust/std/BUILD.gn.orig 2025-10-13 21:25:57 UTC +++ build/rust/std/BUILD.gn -@@ -50,13 +50,20 @@ if (toolchain_has_rust) { +@@ -42,7 +42,6 @@ if (toolchain_has_rust) { + "rustc_demangle", + "std_detect", + "test", +- "unicode_width", + "unwind", + ] + +@@ -50,13 +49,20 @@ if (toolchain_has_rust) { # These are no longer present in the Windows toolchain. stdlib_files += [ "addr2line", @@ -22,7 +30,7 @@ } if (toolchain_for_rust_host_build_tools) { -@@ -76,7 +83,6 @@ if (toolchain_has_rust) { +@@ -76,7 +82,6 @@ if (toolchain_has_rust) { # don't need to pass to the C++ linker because they're used for specialized # purposes. skip_stdlib_files = [ diff --git a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc index 7779829716a3..d529620a1e00 100644 --- a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc +++ b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__app.cc @@ -1,4 +1,4 @@ ---- electron/shell/browser/api/electron_api_app.cc.orig 2025-10-28 14:56:59 UTC +--- electron/shell/browser/api/electron_api_app.cc.orig 2025-11-13 22:57:06 UTC +++ electron/shell/browser/api/electron_api_app.cc @@ -97,7 +97,7 @@ #include "shell/common/process_util.h" @@ -45,7 +45,7 @@ // Read the xdg-activation token and set it in the command line for the // duration of the notification in order to ensure this is propagated to an // already running electron app instance if it exists. -@@ -1435,7 +1435,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics +@@ -1446,7 +1446,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics pid_dict.Set("name", process_metric.second->name); } @@ -54,7 +54,7 @@ auto memory_info = process_metric.second->GetMemoryInfo(); auto memory_dict = gin_helper::Dictionary::CreateEmpty(isolate); -@@ -1819,7 +1819,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild +@@ -1830,7 +1830,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild .SetMethod( "removeAsDefaultProtocolClient", base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser)) @@ -63,7 +63,7 @@ .SetMethod( "getApplicationInfoForProtocol", base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser)) -@@ -1877,7 +1877,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild +@@ -1888,7 +1888,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild .SetMethod("getJumpListSettings", &App::GetJumpListSettings) .SetMethod("setJumpList", &App::SetJumpList) #endif diff --git a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__base__window.cc b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__base__window.cc index 573b62a17559..6b34087432bc 100644 --- a/devel/electron38/files/patch-electron_shell_browser_api_electron__api__base__window.cc +++ b/devel/electron38/files/patch-electron_shell_browser_api_electron__api__base__window.cc @@ -1,6 +1,6 @@ ---- electron/shell/browser/api/electron_api_base_window.cc.orig 2025-09-02 20:56:04 UTC +--- electron/shell/browser/api/electron_api_base_window.cc.orig 2025-11-13 22:57:06 UTC +++ electron/shell/browser/api/electron_api_base_window.cc -@@ -42,7 +42,7 @@ +@@ -43,7 +43,7 @@ #include "shell/browser/ui/views/win_frame_view.h" #include "shell/browser/ui/win/taskbar_host.h" #include "ui/base/win/shell.h" @@ -9,7 +9,7 @@ #include "shell/browser/ui/views/opaque_frame_view.h" #endif -@@ -1030,7 +1030,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate, +@@ -1031,7 +1031,7 @@ void BaseWindow::SetIconImpl(v8::Isolate* isolate, static_cast<NativeWindowViews*>(window_.get()) ->SetIcon(native_image->GetHICON(GetSystemMetrics(SM_CXSMICON)), native_image->GetHICON(GetSystemMetrics(SM_CXICON))); @@ -18,7 +18,7 @@ static_cast<NativeWindowViews*>(window_.get()) ->SetIcon(native_image->image().AsImageSkia()); #endif -@@ -1118,7 +1118,7 @@ v8::Local<v8::Value> BaseWindow::GetAccentColor() cons +@@ -1123,7 +1123,7 @@ v8::Local<v8::Value> BaseWindow::GetAccentColor() cons } #endif @@ -27,7 +27,7 @@ void BaseWindow::SetTitleBarOverlay(const gin_helper::Dictionary& options, gin_helper::Arguments* args) { static_cast<NativeWindowViews*>(window_.get()) -@@ -1315,7 +1315,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate, +@@ -1320,7 +1320,7 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate, .SetMethod("setThumbnailToolTip", &BaseWindow::SetThumbnailToolTip) .SetMethod("setAppDetails", &BaseWindow::SetAppDetails) #endif diff --git a/devel/electron38/files/patch-electron_shell_browser_native__window.cc b/devel/electron38/files/patch-electron_shell_browser_native__window.cc index c831d05393b9..bcc768f02930 100644 --- a/devel/electron38/files/patch-electron_shell_browser_native__window.cc +++ b/devel/electron38/files/patch-electron_shell_browser_native__window.cc @@ -1,6 +1,6 @@ ---- electron/shell/browser/native_window.cc.orig 2025-09-02 20:56:04 UTC +--- electron/shell/browser/native_window.cc.orig 2025-11-13 22:57:06 UTC +++ electron/shell/browser/native_window.cc -@@ -184,7 +184,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D +@@ -185,7 +185,7 @@ void NativeWindow::InitFromOptions(const gin_helper::D } else { SetSizeConstraints(size_constraints); } diff --git a/devel/electron38/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc b/devel/electron38/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc index abd8c6af7036..21396edfbf9b 100644 --- a/devel/electron38/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc +++ b/devel/electron38/files/patch-electron_shell_browser_ui_inspectable__web__contents.cc @@ -1,6 +1,6 @@ ---- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2025-07-02 15:59:39 UTC +--- electron/shell/browser/ui/inspectable_web_contents.cc.orig 2025-11-13 22:57:06 UTC +++ electron/shell/browser/ui/inspectable_web_contents.cc -@@ -548,7 +548,7 @@ void InspectableWebContents::LoadCompleted() { +@@ -554,7 +554,7 @@ void InspectableWebContents::LoadCompleted() { prefs.FindString("currentDockState"); base::RemoveChars(*current_dock_state, "\"", &dock_state_); } diff --git a/devel/electron38/files/patch-electron_shell_browser_ui_inspectable__web__contents__view.cc b/devel/electron38/files/patch-electron_shell_browser_ui_inspectable__web__contents__view.cc index 080d256f9b7a..2c9b2e4fd663 100644 --- a/devel/electron38/files/patch-electron_shell_browser_ui_inspectable__web__contents__view.cc +++ b/devel/electron38/files/patch-electron_shell_browser_ui_inspectable__web__contents__view.cc @@ -1,6 +1,6 @@ ---- electron/shell/browser/ui/inspectable_web_contents_view.cc.orig 2025-09-02 20:56:04 UTC +--- electron/shell/browser/ui/inspectable_web_contents_view.cc.orig 2025-11-13 22:57:06 UTC +++ electron/shell/browser/ui/inspectable_web_contents_view.cc -@@ -181,7 +181,7 @@ void InspectableWebContentsView::SetIsDocked(bool dock +@@ -198,7 +198,7 @@ void InspectableWebContentsView::SetIsDocked(bool dock params.delegate = devtools_window_delegate_; params.bounds = inspectable_web_contents()->dev_tools_bounds(); diff --git a/devel/electron38/files/patch-electron_shell_browser_ui_views_electron__views__delegate.cc b/devel/electron38/files/patch-electron_shell_browser_ui_views_electron__views__delegate.cc index 4f577ac81310..2adda32d82ef 100644 --- a/devel/electron38/files/patch-electron_shell_browser_ui_views_electron__views__delegate.cc +++ b/devel/electron38/files/patch-electron_shell_browser_ui_views_electron__views__delegate.cc @@ -1,15 +1,15 @@ ---- electron/shell/browser/ui/views/electron_views_delegate.cc.orig 2025-01-29 20:10:57 UTC +--- electron/shell/browser/ui/views/electron_views_delegate.cc.orig 2025-11-13 22:57:06 UTC +++ electron/shell/browser/ui/views/electron_views_delegate.cc -@@ -9,7 +9,7 @@ - #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" +@@ -10,7 +10,7 @@ #include "ui/views/widget/native_widget_aura.h" + #include "ui/views/window/default_frame_view.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "base/environment.h" #include "base/nix/xdg_util.h" #include "ui/linux/linux_ui.h" -@@ -17,7 +17,7 @@ namespace { +@@ -18,7 +18,7 @@ namespace { namespace { @@ -18,7 +18,7 @@ bool IsDesktopEnvironmentUnity() { auto env = base::Environment::Create(); base::nix::DesktopEnvironment desktop_env = -@@ -54,7 +54,7 @@ void ViewsDelegate::NotifyMenuItemFocused(const std::u +@@ -55,7 +55,7 @@ void ViewsDelegate::NotifyMenuItemFocused(const std::u int item_count, bool has_submenu) {} @@ -27,7 +27,7 @@ gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const { return nullptr; } -@@ -82,7 +82,7 @@ bool ViewsDelegate::WindowManagerProvidesTitleBar(bool +@@ -83,7 +83,7 @@ bool ViewsDelegate::WindowManagerProvidesTitleBar(bool } bool ViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) { 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 2d68e21081b7..b929d969aa83 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-10-28 14:56:59 UTC +--- electron/spec/api-app-spec.ts.orig 2025-11-13 22:57:06 UTC +++ electron/spec/api-app-spec.ts @@ -129,11 +129,11 @@ describe('app module', () => { }); @@ -14,7 +14,7 @@ const languages = app.getPreferredSystemLanguages(); if (languages.length) { expect(languages).to.not.include('C'); -@@ -196,7 +196,7 @@ describe('app module', () => { +@@ -202,7 +202,7 @@ describe('app module', () => { expect(code).to.equal(123, 'exit code should be 123, if you see this please tag @MarshallOfSound'); }); @@ -23,7 +23,7 @@ const electronPath = process.execPath; const appPath = path.join(fixturesPath, 'api', 'singleton'); appProcess = cp.spawn(electronPath, [appPath]); -@@ -360,7 +360,7 @@ describe('app module', () => { +@@ -366,7 +366,7 @@ describe('app module', () => { }); // GitHub Actions macOS-13 runners used for x64 seem to have a problem with this test. @@ -32,7 +32,7 @@ const tempFiles = [ path.join(fixturesPath, 'foo.txt'), path.join(fixturesPath, 'bar.txt'), -@@ -488,7 +488,7 @@ describe('app module', () => { +@@ -494,7 +494,7 @@ describe('app module', () => { // let w = null // before(function () { @@ -41,7 +41,7 @@ // this.skip() // } // }) -@@ -595,7 +595,7 @@ describe('app module', () => { +@@ -601,7 +601,7 @@ describe('app module', () => { describe('app.badgeCount', () => { const platformIsNotSupported = (process.platform === 'win32') || @@ -50,7 +50,7 @@ const expectedBadgeCount = 42; -@@ -639,7 +639,7 @@ describe('app module', () => { +@@ -645,7 +645,7 @@ describe('app module', () => { }); }); @@ -59,7 +59,7 @@ const isMac = process.platform === 'darwin'; const isWin = process.platform === 'win32'; -@@ -1019,7 +1019,7 @@ describe('app module', () => { +@@ -1025,7 +1025,7 @@ describe('app module', () => { }); }); @@ -68,7 +68,7 @@ it('is mutable', () => { const values = [false, true, false]; const setters: Array<(arg: boolean) => void> = [ -@@ -1288,7 +1288,7 @@ describe('app module', () => { +@@ -1294,7 +1294,7 @@ describe('app module', () => { }); }); @@ -77,7 +77,7 @@ let w: BrowserWindow; before(function () { -@@ -1423,7 +1423,7 @@ describe('app module', () => { +@@ -1429,7 +1429,7 @@ describe('app module', () => { describe('getApplicationNameForProtocol()', () => { // TODO: Linux CI doesn't have registered http & https handlers @@ -86,7 +86,7 @@ // We can't expect particular app names here, but these protocols should // at least have _something_ registered. Except on our Linux CI // environment apparently. -@@ -1441,7 +1441,7 @@ describe('app module', () => { +@@ -1447,7 +1447,7 @@ describe('app module', () => { }); }); @@ -95,7 +95,7 @@ it('returns promise rejection for a bogus protocol', async function () { await expect( app.getApplicationInfoForProtocol('bogus-protocol://') -@@ -1491,7 +1491,7 @@ describe('app module', () => { +@@ -1497,7 +1497,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, -@@ -1573,7 +1573,7 @@ describe('app module', () => { +@@ -1579,7 +1579,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'); } -@@ -1647,7 +1647,7 @@ describe('app module', () => { +@@ -1653,7 +1653,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'); -@@ -1671,7 +1671,7 @@ describe('app module', () => { +@@ -1677,7 +1677,7 @@ describe('app module', () => { }); }); diff --git a/devel/electron38/files/patch-electron_spec_api-browser-window-spec.ts b/devel/electron38/files/patch-electron_spec_api-browser-window-spec.ts index 1a400abf8c69..cbe6e31063e8 100644 --- a/devel/electron38/files/patch-electron_spec_api-browser-window-spec.ts +++ b/devel/electron38/files/patch-electron_spec_api-browser-window-spec.ts @@ -1,4 +1,4 @@ ---- electron/spec/api-browser-window-spec.ts.orig 2025-09-02 20:56:04 UTC +--- electron/spec/api-browser-window-spec.ts.orig 2025-11-13 22:57:06 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'); -@@ -3100,7 +3100,7 @@ describe('BrowserWindow module', () => { +@@ -3116,7 +3116,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); -@@ -3126,7 +3126,7 @@ describe('BrowserWindow module', () => { +@@ -3142,7 +3142,7 @@ describe('BrowserWindow module', () => { }); }); @@ -90,7 +90,7 @@ it('sets 1 regardless of parameter', () => { const w = new BrowserWindow({ show: false }); w.setOpacity(0); -@@ -3337,7 +3337,7 @@ describe('BrowserWindow module', () => { +@@ -3353,7 +3353,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(); -@@ -3403,7 +3403,7 @@ describe('BrowserWindow module', () => { +@@ -3419,7 +3419,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(); -@@ -4074,7 +4074,7 @@ describe('BrowserWindow module', () => { +@@ -4090,7 +4090,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 { -@@ -4579,7 +4579,7 @@ describe('BrowserWindow module', () => { +@@ -4595,7 +4595,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 }); -@@ -4850,7 +4850,7 @@ describe('BrowserWindow module', () => { +@@ -4866,7 +4866,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(); -@@ -4867,7 +4867,7 @@ describe('BrowserWindow module', () => { +@@ -4883,7 +4883,7 @@ describe('BrowserWindow module', () => { }); // TODO(dsanders11): Enable once maximize event works on Linux again on CI @@ -144,7 +144,7 @@ afterEach(closeAllWindows); it('should show the window if it is not currently shown', async () => { const w = new BrowserWindow({ show: false }); -@@ -4904,7 +4904,7 @@ describe('BrowserWindow module', () => { +@@ -4920,7 +4920,7 @@ describe('BrowserWindow module', () => { // TODO(dsanders11): Enable once minimize event works on Linux again. // See https://github.com/electron/electron/issues/28699 @@ -153,7 +153,7 @@ const w = new BrowserWindow(); const minimize = once(w, 'minimize'); w.minimize(); -@@ -5390,7 +5390,7 @@ describe('BrowserWindow module', () => { +@@ -5406,7 +5406,7 @@ describe('BrowserWindow module', () => { }); // On Linux there is no "resizable" property of a window. @@ -162,7 +162,7 @@ const w = new BrowserWindow({ show: false }); expect(w.resizable).to.be.true('resizable'); -@@ -5630,7 +5630,7 @@ describe('BrowserWindow module', () => { +@@ -5646,7 +5646,7 @@ describe('BrowserWindow module', () => { }); }); @@ -171,7 +171,7 @@ // Not implemented on Linux. afterEach(closeAllWindows); -@@ -6801,7 +6801,7 @@ describe('BrowserWindow module', () => { +@@ -6817,7 +6817,7 @@ describe('BrowserWindow module', () => { describe('"transparent" option', () => { afterEach(closeAllWindows); diff --git a/devel/electron38/files/patch-electron_spec_api-protocol-spec.ts b/devel/electron38/files/patch-electron_spec_api-protocol-spec.ts index 3195a7eabb74..75feeec7d07d 100644 --- a/devel/electron38/files/patch-electron_spec_api-protocol-spec.ts +++ b/devel/electron38/files/patch-electron_spec_api-protocol-spec.ts @@ -1,6 +1,6 @@ ---- electron/spec/api-protocol-spec.ts.orig 2024-11-07 16:14:43 UTC +--- electron/spec/api-protocol-spec.ts.orig 2025-11-13 22:57:06 UTC +++ electron/spec/api-protocol-spec.ts -@@ -1738,7 +1738,7 @@ describe('protocol module', () => { +@@ -1755,7 +1755,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. diff --git a/devel/electron38/files/patch-electron_spec_api-web-contents-spec.ts b/devel/electron38/files/patch-electron_spec_api-web-contents-spec.ts index 001598b72527..e03f712f255b 100644 --- a/devel/electron38/files/patch-electron_spec_api-web-contents-spec.ts +++ b/devel/electron38/files/patch-electron_spec_api-web-contents-spec.ts @@ -1,6 +1,6 @@ ---- electron/spec/api-web-contents-spec.ts.orig 2025-08-13 14:21:20 UTC +--- electron/spec/api-web-contents-spec.ts.orig 2025-11-13 22:57:06 UTC +++ electron/spec/api-web-contents-spec.ts -@@ -2797,7 +2797,7 @@ describe('webContents module', () => { +@@ -2832,7 +2832,7 @@ describe('webContents module', () => { }); // TODO(codebytere): OOPIF printing is disabled on Linux at the moment due to crashes. diff --git a/devel/electron38/files/patch-third__party_crabbyavif_BUILD.gn b/devel/electron38/files/patch-third__party_crabbyavif_BUILD.gn new file mode 100644 index 000000000000..e7e8a010e88f --- /dev/null +++ b/devel/electron38/files/patch-third__party_crabbyavif_BUILD.gn @@ -0,0 +1,16 @@ +--- third_party/crabbyavif/BUILD.gn.orig 2025-10-13 21:25:57 UTC ++++ third_party/crabbyavif/BUILD.gn +@@ -190,7 +190,12 @@ rust_static_library("crabbyavif") { + "dav1d", + "libyuv", + "capi", +- "disable_cfi", ++ ++ # TODO: crbug.com/440481923 - Un-comment this once the new rust roll ++ # (http://crrev.com/c/6874449) lands and ++ # https://github.com/webmproject/CrabbyAvif/pull/654 is rolled into ++ # chromium. ++ #"disable_cfi", + ] + + # Required for disable_cfi feature. |
