trop[bot]
f521b01eb8
build(dev-deps): update micromark-core-commonmark to 2.0.3 ( #49760 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-02-11 15:53:31 -05:00
trop[bot]
1a9c08914b
ci: add markdownlint problem matcher ( #49765 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-02-11 13:58:04 -05:00
trop[bot]
0aba4a6ab8
fix: address upstream Chromium shift to enable CoreAudio Tap API for audio capture used in electron's desktopCapturer ( 🍏 macOS). ( #49740 )
...
* fix: Enable CoreAudio Tap API for Audio Capture (🍏 macOS)
Co-authored-by: Bug-Reaper <llama@soundsafari.io >
* fix: addressed markdown issue which caused pre-commit hook failure
🧑🔧 : Ref : https://github.com/electron/electron/pull/49717#issuecomment-3874660013
Co-authored-by: Bug-Reaper <llama@soundsafari.io >
* fix: updated docs to cover `desktopCapturer` nuances with macOS
📝 : PR https://github.com/electron/electron/pull/49717
Co-authored-by: Bug-Reaper <llama@soundsafari.io >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Bug-Reaper <llama@soundsafari.io >
2026-02-11 11:05:24 +01:00
trop[bot]
c49899af4c
ci: fix patches changes detected in apply patches workflow ( #49709 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
v39.5.2
2026-02-06 21:29:56 -08:00
trop[bot]
92ef86b64a
refactor: don't log error just for unsigned code ( #49675 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Noah Gregory <noahmgregory@gmail.com >
2026-02-06 14:28:19 -08:00
Robo
30d8e1834c
fix: Treat DND drop performed with NONE action as a cancellation ( #49694 )
...
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7002773
2026-02-06 19:33:33 +09:00
trop[bot]
b35f4eeaf0
refactor: use ComPtr pattern for MSIX to avoid exception handling ( #49688 )
...
* Revert "fix: fix Windows MSIX release build errors (#49613 )"
This reverts commit 4b5d5f9dd5 .
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
* refactor: use WRL ComPtr pattern for MSIX to avoid exception handling
The MSIX auto-updater code was using C++/WinRT (winrt::* namespace), which requires exception handling (/EHsc). Mixing exception and non-exception handling code in the same binary is problematic at runtime. This commit refactors electron_api_msix_updater.cc to use an upstream Chromium pattern and eliminates the need for special exception handling build flags
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
* build: import correct packages
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
* build: consolidate IPackage declarations
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
* refactor: use IPackageManager/IPackageManager5/IPackageManager9 and IPackage/IPackage2/IPackage4/IPackage6 interfaces as needed for different API methods.
Also consolidates duplicate completion handler logic, fixes a bug in
RegisterRestartOnUpdate where the command line string could go out of
scope, and removes unused includes.
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
2026-02-05 14:37:04 -08:00
trop[bot]
63f7692da5
fix: menu state in macOS dock menus ( #49626 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-05 10:57:47 -05:00
trop[bot]
a4af2354dc
fix: default accelerator for role-based menu items ( #49670 )
...
fix: apply default accelerator for role-based menu items
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-05 10:57:01 -05:00
trop[bot]
bd49864f1d
ci: use squash merge for apply patches workflow ( #49674 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-02-04 21:29:51 -08:00
trop[bot]
abc5d1280d
fix(squirrel.mac): clean up old staged updates before downloading new update ( #49637 )
...
fix: clean up old staged updates before downloading new update
When checkForUpdates() is called while an update is already staged,
Squirrel creates a new temporary directory for the download without
cleaning up the old one. This can lead to disk usage growth when
new versions are released while the app hasn't restarted.
This adds a force parameter to pruneUpdateDirectories that bypasses
the AwaitingRelaunch state check. This is called before creating a
new temp directory, ensuring old staged updates are cleaned up.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Andy Locascio <loc@anthropic.com >
2026-02-04 18:54:12 +01:00
trop[bot]
712bafde02
ci: handle PRs with no checks in rerun apply patches ( #49663 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-02-04 09:45:43 -08:00
trop[bot]
013768c429
docs: add Wayland note to win.getPosition() and win.getBounds() ( #49660 )
...
docs: add Wayland note to win.getPosition()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-04 11:50:15 -05:00
trop[bot]
681a2c1aba
fix: possible crash in FileSystem API ( #49634 )
...
Refs https://chromium-review.googlesource.com/6880247
Fixes a crash that can arise in the File System Access API in the
following scenario:
1. Create fileHandle1 at path1.
2. Call fileHandle1.remove() or user manually delete the file.
3. Create fileHandle2 at path2.
4. fileHandle2.move(path1).
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-04 16:12:59 +01:00
trop[bot]
98521d22ec
fix: alt-space should route through 'system-context-menu' ( #49641 )
...
fix: alt-space should route through system-context-menu
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-04 16:11:59 +01:00
trop[bot]
faa40332ad
fix: handle out of order recording errors in skia graphite ( #49615 )
...
* fix: handle out of order recording errors in skia graphite
Refs https://issues.chromium.org/issues/458722690
Co-authored-by: deepak1556 <hop2deep@gmail.com >
* chore: fixup patches
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com >
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
v39.5.1
2026-02-02 15:06:17 -08:00
David Sanders
e1ac9d5d1b
build(dev-deps): bump @electron/lint-roller to 3.2.0 ( #49588 )
...
build(dev-deps): bump @electron/lint-roller to 3.2.0 (#49565 )
v39.5.0
2026-02-02 11:34:17 +01:00
trop[bot]
dc254e4bfc
fix: duplicate fullscreen macOS menu item ( #49597 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-02 09:39:24 +01:00
trop[bot]
5631882390
refactor: address PathProvider TODO ( #49600 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-02-02 09:39:05 +01:00
trop[bot]
e6b53033dd
feat: msix auto-updater ( #49585 )
...
* feat: native auto updater for MSIX on Windows
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* doc: added MSIX debug documentation
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: allow downgrade with json release file and emit update-available
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* test: msix auot-update tests
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* doc: API documentation
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* test: add package version validation
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: docs typo
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: don't allow auto-updating when using appinstaller manifest
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: getPackageInfo interface implementation
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: review feedback, add comment
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: missed filename commit
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: install test cert on demand
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: time stamp mismatch in tests
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: feedback - rename to MSIXPackageInfo
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: update and reference windowsStore property
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: remove getPackagInfo from public API
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: type error bcause of removed API
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
* fix: fix Windows MSIX release build errors (#49613 )
* fix: fix MSIX release build
* fix: add C++/WinRT headers
* build: modify include paths
* fix: compile msix as seperate source set
* build: add additional needed deps for msix
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jan Hannemann <jan.hannemann@outlook.com >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2026-02-02 09:33:46 +01:00
trop[bot]
fd4f835f37
fix: macOS menu item accelerators when item disabled ( #49593 )
...
fix: macOS menu item acceerators when item disabled
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-01-30 14:52:17 -05:00
David Sanders
f36da597ff
ci: rework reapply patches ( #49589 )
...
ci: rework reapply patches (#49552 )
2026-01-30 13:17:05 -05:00
trop[bot]
87badb84f8
test: remove split dependency ( #49555 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
v39.4.0
2026-01-28 15:38:05 +01:00
trop[bot]
2f3a1ca461
fix: chrome://accessibility drift ( #49559 )
...
https://chromium-review.googlesource.com/c/chromium/src/+/6870052
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-01-28 15:37:39 +01:00
trop[bot]
81ae20905c
ci: reapply patches if PR base branch updates them ( #49533 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-01-27 17:40:35 -05:00
trop[bot]
da4a808af7
docs: correct type for process.noDeprecation ( #49545 )
...
* docs: correct type for process.noDeprecation
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* docs: mark `noDeprecation` as optional instead
Co-authored-by: René <contact.9a5d6388@renegade334.me.uk >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-01-27 11:37:32 +01:00
trop[bot]
71579e4749
fix: second argument to shell.writeShortcutLink is optional ( #49502 )
...
fix: second argument to shell.writeShortcutLink is optional
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-01-23 14:31:09 -05:00
trop[bot]
06fdee87b3
fix: return early from platform_util::Beep() on Linux if there is no default GDK display ( #49484 )
...
fix: return early from beep on linux if there is no default gdk display
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Noah Gregory <noahmgregory@gmail.com >
2026-01-23 11:07:47 +01:00
trop[bot]
6ce52ad792
fix: potential devtools crash on empty ( #49489 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-01-22 11:59:57 -05:00
electron-roller[bot]
7784d25821
chore: bump node to v22.22.0 (39-x-y) ( #49389 )
...
* chore: bump node in DEPS to v22.22.0
* chore: update patches
* chore: fixup sandboxed pointers patch
(cherry picked from commit f52fbdbe51 )
* chore: fixup v8 sandbox pointers node patch
* tls: route callback exceptions through error handlers
https://github.com/nodejs-private/node-private/pull/782
(cherry picked from commit 87bc8ebd34 )
* chore:remove zero-fill sandbox patch component
xref https://github.com/electron/electron/pull/49452
* fixup! chore:remove zero-fill sandbox patch component
* test: correct conditional secure heap flags test
xref: https://github.com/nodejs/node/pull/60385
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by: deepak1556 <hop2deep@gmail.com >
2026-01-22 09:53:44 -05:00
trop[bot]
126a32c5d2
docs: document that shell.trashItem requires backslashes ( #49479 )
...
docs: Update shell.md: Document that shell.trashItem requires backslashes
In Windows many functions relating to files (e.g. shell.openItem, the Node fs functions, as well as native Win32 APIs) will accept either type of slash / or \ as a folder separator.
shell.trashItem does not work with / as folder separator in Windows. This documentation change explains that.
See also:
https://github.com/electron/electron/issues/28831
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: sam marshall <s.marshall@open.ac.uk >
2026-01-21 14:52:13 -05:00
trop[bot]
811b1d6326
revert: use deprecated setAllowedFileTypes in macOS dialogs ( #49472 )
...
* revert: use deprectated setAllowedFileTypes in macOS dialogs
Closes https://github.com/electron/electron/issues/48191
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
* chore: remove stray import
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-01-21 17:57:35 +01:00
trop[bot]
50fc493ae6
ci: detect patch needs update error with problem matcher ( #49412 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-01-21 12:32:04 +01:00
trop[bot]
9453e8bfe1
build: roll build-image to a82b87d ( #49450 )
...
build: roll build-image to a82b87d
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
v39.3.0
2026-01-19 19:01:42 +01:00
trop[bot]
a4eb213a04
fix: restore AXDocument accessibility attribute for representedFilename on macOS ( #49418 )
...
Starting from Chromium 134.0.6989.0 (Electron 35.0.0-beta.5), the
NativeWidgetMacNSWindow class overrides accessibilityDocument to return
the web content URL from the accessibility tree, but doesn't fall back
to NSWindow's default behavior when that URL is empty.
This broke Electron's setRepresentedFilename() API - the file path was
still set on the NSWindow, but no longer exposed via the AXDocument
accessibility attribute that screen readers use.
This fix adds an accessibilityDocument override in ElectronNSWindow that
checks representedFilename first, falling back to Chromium's behavior
for web content URLs.
Fixes: https://github.com/electron/electron/issues/XXXXX
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Daniel Gräfe <Daniel.Alm@ForumD.net >
2026-01-19 15:02:51 +01:00
trop[bot]
81c08e80f6
docs: fix webContents.hostWebContents types ( #49445 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
2026-01-19 10:58:28 +01:00
trop[bot]
5f630c7de7
fix: try clearing InspectableWebContents delegate earlier ( #49423 )
...
fix: try clearing InspectableWebContents delegate earlier
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-01-18 09:52:20 +01:00
trop[bot]
2dc82ea1f3
fix: make toplevel icon Wayland protocol work ( #49415 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Alex Schwartz <alexschwartz01@gmail.com >
2026-01-16 11:04:40 -05:00
Shelley Vohr
f57d6f92b6
feat: support WebSocket authentication handling ( #49065 )
...
* feat: support WebSocket authentication handling
* chore: make linter happy
---------
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2026-01-13 08:52:14 -05:00
Robo
744142fe54
fix: reduce stack memory consumption in BytecodeGenerator ( #49360 )
...
Reduce stack memory consumption in BytecodeGenerator
Backports
1) https://chromium-review.googlesource.com/c/v8/v8/+/7180480
2) https://chromium-review.googlesource.com/c/v8/v8/+/7160576
3) https://chromium-review.googlesource.com/c/v8/v8/+/7062734
2 and 3 are needed to cleanly land 1. However, most of the code
changes are noop since v8_flags.proto_assign_seq_opt is experimental
and disabled by default for feature. The reason why stack memory
consumption is improved for all scenarios can be found in
https://github.com/microsoft/vscode/issues/283403#issuecomment-3737968271
2026-01-13 19:04:51 +09:00
trop[bot]
b200b8d6c0
build: roll build-tools SHA to 4430e4a ( #49367 )
...
build: roll build-tools SHA to 4430e4a
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2026-01-12 15:44:02 -05:00
electron-roller[bot]
cdaf0e96b6
chore: bump chromium to 142.0.7444.265 (39-x-y) ( #49322 )
...
chore: bump chromium in DEPS to 142.0.7444.265
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2026-01-12 11:29:53 +01:00
trop[bot]
981df181c1
chore: improvements to script/run-clang-tidy.ts ( #49341 )
...
* chore: disable color output for clang-tidy in CI
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* chore: small QoL improvements to run-clang-tidy.ts
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
* chore: add --fix option to script/run-clang-tidy.ts
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2026-01-09 14:43:00 -06:00
John Kleinschmidt
218300e57f
build: use @electron-ci/dev-root for package.json default ( #49319 )
...
* build: use @electron-ci/dev-root for package.json default (#49154 )
(cherry picked from commit bab6bd3dae )
* fxiup
2026-01-07 09:48:08 -05:00
Charles Kerr
6ccee512e4
chore: remove patches/v8/cherry-pick-e0052e7af9c9 ( #49309 )
...
chore: remove patches/v8/cherry-pick-e0052e7af9c9.patch
included in latest roll of upstream w/v8 14.2.231.22
2026-01-06 12:43:37 -06:00
trop[bot]
b6e4f514d8
docs: update roundedCorners documentation ( #49310 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
2026-01-06 11:00:23 -05:00
trop[bot]
ade4c00984
fix: webRequest.onBeforeSendHeaders not being able to modify reserved headers ( #49242 )
...
* fix: `webRequest.onBeforeSendHeaders` not being able to modify reserved headers
Co-authored-by: Samuel Attard <sattard@anthropic.com >
* chore: add unit test for reserved header
Co-authored-by: Samuel Attard <sattard@anthropic.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@anthropic.com >
2026-01-05 16:30:50 -05:00
trop[bot]
d8687cfc9d
build: fixup release notes generation ( #49304 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com >
2026-01-05 15:56:30 -05:00
electron-roller[bot]
2ab4489447
chore: bump chromium to 142.0.7444.243 (39-x-y) ( #49228 )
...
chore: bump chromium in DEPS to 142.0.7444.243
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2026-01-02 13:49:22 +09:00
Keeley Hammond
ab9b156113
chore: cherry-pick e0052e7af9c9 from v8 ( #49287 )
...
* chore: cherry-pick e0052e7af9c9 from v8
* chore: update patches
2025-12-31 17:02:33 +13:00