Niklas Wenzel
ce47542ccd
feat: add support for long-animation-frame script attribution ( #49706 )
...
* feat: add support for `long-animation-frame` script attribution
* docs: document `AlwaysLogLOAFURL`
* chore: add test
* docs: adjust docs as per PR comment
* fix: test failures
* chore: simplify test
* fix: tests on Windows and Linux
2026-02-11 09:34:22 -08:00
Ronald Eddy Jr
1c621cc982
docs: fix typos across documentation ( #49734 )
...
Fix 40 typos across 25 documentation files including misspellings,
missing words, doubled words, wrong words, and grammatical errors.
2026-02-11 12:45:46 +01:00
Bug-Reaper
99fce5b6ca
fix: address upstream Chromium shift to enable CoreAudio Tap API for audio capture used in electron's desktopCapturer ( 🍏 macOS). ( #49717 )
...
* fix: Enable CoreAudio Tap API for Audio Capture (🍏 macOS)
* fix: addressed markdown issue which caused pre-commit hook failure
🧑🔧 : Ref : https://github.com/electron/electron/pull/49717#issuecomment-3874660013
* fix: updated docs to cover `desktopCapturer` nuances with macOS
📝 : PR https://github.com/electron/electron/pull/49717
2026-02-10 15:06:21 +01:00
Rushikesh Bobade
7c66112e88
docs: link unlinked type references in API documentation ( #49651 )
...
docs: add missing type links in menu.md and shared-texture.md
2026-02-09 23:08:52 -08:00
reito
3fa3e91f90
docs: fix framerate limit when osr with shared texture ( #49705 )
2026-02-09 15:18:06 +01:00
Samuel Attard
60d35bbaf4
feat: add support for disclaiming utility processes ( #49128 )
...
* feat: add support for disclaiming utility processes
* chore: update patches
---------
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
2026-02-05 14:37:24 -08:00
Shelley Vohr
9740c989da
fix: default accelerator for role-based menu items ( #49558 )
...
fix: apply default accelerator for role-based menu items
Co-authored-by: Kimgun3383 <tygob5247@gmail.com >
2026-02-04 16:45:29 -05:00
Shelley Vohr
d7378d96a5
docs: add Wayland note to win.getPosition() and win.getBounds() ( #49632 )
...
docs: add Wayland note to win.getPosition()
2026-02-04 16:13:11 +01:00
Mr.Chaofan
4413a0f642
fix: wrong cause and removed flag in cookie change listener ( #49103 )
2026-02-03 10:19:35 +01:00
Calvin
1159de52e7
docs: app.getGPUInfo() may reject ( #49580 )
2026-02-02 10:00:05 +01:00
axolotl
f272723a33
feat: Allow View.setBounds to animate ( #48812 )
...
* feat: allow View::SetBounds to animate
* fix: support width/height animations
* fix: jumping on subsequent animations
* fix: segfault race condition
* fix: remove layer background
* fix: layer clips not being reset
* refactor: use gfx tween gin converter
* fix: layer cleanups causing flickering views
* chore: merge artifact
* fix: missing private method in header
* fix: return type
* fix: do not set layer opacity
* refactor: update animate parameter format
* refactor: move animate into options object
* chore: typo
* docs: update
* spec: add view animation test
2026-01-30 15:18:56 -05:00
Jan Hannemann
d74fcfcecb
feat: msix auto-updater ( #49230 )
...
* feat: native auto updater for MSIX on Windows
* doc: added MSIX debug documentation
* fix: allow downgrade with json release file and emit update-available
* test: msix auot-update tests
* doc: API documentation
* test: add package version validation
* fix: docs typo
* fix: don't allow auto-updating when using appinstaller manifest
* fix: getPackageInfo interface implementation
* fix: review feedback, add comment
* fix: missed filename commit
* fix: install test cert on demand
* fix: time stamp mismatch in tests
* fix: feedback - rename to MSIXPackageInfo
* fix: update and reference windowsStore property
* fix: remove getPackagInfo from public API
* fix: type error bcause of removed API
2026-01-29 16:38:26 -05:00
Shelley Vohr
b2c5093542
docs: correct type for process.noDeprecation ( #49524 )
...
* docs: correct type for process.noDeprecation
* 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: René <contact.9a5d6388@renegade334.me.uk >
2026-01-27 11:02:51 +01:00
Sourav Bera
75be2fe8d6
docs: add type reference links in Menu and MenuItem API documentation ( #49437 )
...
* docs: add type reference links in Menu and MenuItem API documentation
* docs: revert type links in Menu return types to fix parser
2026-01-26 12:22:28 +01:00
Kyle Cutler
d5de8883a2
feat: add focusOnNavigation flag to WebPreferences ( #49425 )
...
* feat: add focusOnNavigation webPreference
* WebContentsView tests
* fix
* fix
2026-01-23 14:29:34 -05:00
reito
e3142865b2
fix: offscreen rendering with correct screen info. ( #48730 )
...
fix: osr use correct screen info.
2026-01-22 14:58:54 -05:00
sam marshall
d141934885
docs: document that shell.trashItem requires backslashes ( #49038 )
...
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
2026-01-21 13:21:01 -05:00
Erick Zhao
22e8cf9416
docs: add a few API history fragments ( #49340 )
...
* docs: add a few API history fragments
* manual fixes
2026-01-21 12:57:02 -05:00
David Franco
2f20d287d1
feat: import shared texture supports p010le ( #49272 )
...
feat: import shared texture supports p010le.
2026-01-20 11:50:30 +01:00
Niklas Wenzel
7851a34c2d
docs: fix webContents.hostWebContents types ( #49424 )
2026-01-19 10:45:23 +01:00
Erick Zhao
dae76c2885
docs: remove stale example and standardize DevTools capitalization ( #49321 )
...
* docs: remove stale example and standardize `DevTools` capitalization
* Update docs/api/web-contents.md
Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com >
---------
Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com >
2026-01-14 10:35:53 +01:00
Erick Zhao
5901d8a6d8
docs: document ELECTRON_SKIP_BINARY_DOWNLOAD ( #49320 )
2026-01-07 14:54:22 -08:00
Niklas Wenzel
44fa30695f
docs: update roundedCorners documentation ( #49195 )
2026-01-05 16:27:46 -05:00
Luke Horwell
fdb7fc7794
docs: Clarify that menus use non-native styles ( #45033 )
...
* docs: Clarify menus use non-native styles
Addresses #42262
* empty commit to kick ci
* fix: make linter happy
* Strip trailing space for lint
---------
Co-authored-by: George Xu <george.xu@slack-corp.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
2025-11-25 18:27:46 +01:00
Teo Yu Qi
05233b4962
docs: explain how to create transparent window using BaseWindow ( #48921 )
...
docs: clarify how to create transparent BaseWindow
2025-11-23 21:40:42 +01:00
reito
2200a70e8d
feat: import shared texture supports nv12. ( #48922 )
2025-11-21 10:32:29 -05:00
Shelley Vohr
13e84e6868
fix: abort more descriptively for beforeunload ( #48960 )
2025-11-18 12:16:08 -05:00
Niklas Wenzel
05b9a5bfc7
docs: fix docs for app.isHardwareAccelerationEnabled() ( #48925 )
2025-11-13 14:39:59 -05:00
Niklas Wenzel
511809ef63
docs: explain how to load SF Symbols with nativeImage ( #48908 )
...
* docs: explain how to load SF Symbols with `nativeImage`
* fix: use single quotes
* fix: use single quotes
2025-11-13 10:41:00 -05:00
Nilay Arya
32ae696ee0
feat: add --disable-geolocation command-line flag for macOS ( #45934 )
...
* feat(macos): add --disable-geolocation-mac command-line flag
* internally deny geolocation requests if flag set
e
* wrap PermissionRequestHandler instead
* wrap custom handler and deny regardless of response
* Update docs/api/command-line-switches.md
Co-authored-by: Will Anderson <will@itsananderson.com >
* resolving conflicts during rebase
* tests added
* tests added: minor changes
* move IsGeolocationDisabledViaCommandLine inside ElectronPermissionManager as a static member
* test: inject fixturesPath via --boot-eval
* Update shell/browser/electron_permission_manager.cc
Co-authored-by: Robo <hop2deep@gmail.com >
* chore: Fixup after merge
* fixup after merge
---------
Co-authored-by: Will Anderson <will@itsananderson.com >
Co-authored-by: Robo <hop2deep@gmail.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2025-11-13 10:39:03 -05:00
Niklas Wenzel
b121065984
docs: clarify meaning of string value for menu item icon ( #48919 )
...
* docs: clarify meaning of string value for menu item icon
* fix: format
* fix: wording
2025-11-13 16:10:18 +01:00
John Kleinschmidt
27727dbe0a
docs: deprecate clipboard API access from renderer processes ( #48877 )
2025-11-12 10:16:31 -05:00
Kai
bc86e68a72
feat: add bypassCustomProtocolHandlers option to net.request ( #47331 )
...
* feat: add bypassCustomProtocolHandlers option to net.request
* style: fix lint errors in api-protocol-spec
2025-11-10 16:37:29 -05:00
reito
bab11f8c7b
feat: add sharedTexture module to import shared texture ( #47317 )
...
feat: add `sharedTexture` module.
2025-11-07 09:50:28 +01:00
axolotl
5bd45a6a28
feat: add SF Symbol support to NativeImage::CreateFromNamedImage ( #48203 )
...
* feat: add SF Symbol support to NativeImage::CreateFromNamedImage
* use obj-c name in NSImage constructor
* add test for named symbol image
* apply suggested simplification
* fix: support NX cocoa prefix
2025-11-04 11:15:34 +01:00
Mitchell Cohen
2a94d414f7
docs: clarify BrowserWindow and App API support status on Wayland ( #48740 )
...
* docs: clarify BrowserWindow API support in Wayland
* typo fix
* updated docs
* wrapping
2025-10-31 16:35:08 -05:00
byquanton
1d3cc9d554
docs: add caveats for Electron PipeWire implementation ( #48242 )
2025-10-28 12:39:12 -07:00
Teaveloper
9ce27e5318
docs: security.md use runnable examples for permissions and csp ( #43248 )
...
* docs: security.md use runnable examples for permissions and csp
Signed-off-by: LeUser111 <florian.wiedenmann@grob.de >
* Removed semi-colon for uniform js code style in examples
Signed-off-by: LeUser111 <florian.wiedenmann@grob.de >
* docs: security.md, session.md - added clarification on defaultSession, added csp example
* docs: security.md/session.md incorporated review feedback
* docs: security.md/session.md incorporated more review feedback
* docs: security.md/session.md incorporated more review feedback
* docs: tutorial/security.md - fixed linting issue
* chore: empty commit for CI
---------
Signed-off-by: LeUser111 <florian.wiedenmann@grob.de >
Co-authored-by: Keeley Hammond <khammond@slack-corp.com >
2025-10-27 16:56:53 -04:00
Shelley Vohr
b389377c63
feat: add app.isHardwareAccelerationEnabled() ( #47614 )
...
* feat: add app.isHardwareAccelerationEnabled()
* chore: address review feedback
2025-10-27 14:03:08 -05:00
zoy
8f6ecd816b
docs: modify the thickFrame doc ( #48579 )
...
* doc: modify the thickFrame doc
* chore: update description
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com >
* update format
---------
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com >
2025-10-27 13:38:05 -04:00
Teaveloper
fbfd7c7126
docs: security.md mark 'Enable process sandboxing' as active by defau… ( #43247 )
...
* docs: security.md mark 'Enable process sandboxing' as active by default since electron 20
* Adjusted according to feedback
* Updated according to feedback - adjusted sandbox.md
* formatting
* Fixed broken markup
* Implemented docs linting suggestions
* docs: docs/tutorial/sandbox.md - fixed typo
Co-authored-by: Erick Zhao <erick@hotmail.ca >
* docs: web-preferences.md - sandbox: mention default value and relation to nodeIntegration
---------
Co-authored-by: Erick Zhao <erick@hotmail.ca >
2025-10-23 16:11:55 -04:00
Tau Gärtli
7ec0ebc50a
feat: Add getAccentColor on Linux ( #48027 )
...
* feat: Implement `getAccentColor` on Linux
* doc: Update OS support for accent color APIs
2025-10-21 14:26:30 -04:00
Shelley Vohr
e766d378e1
feat: enable more granular a11y feature management ( #48042 )
...
* feat: enable more granular a11y feature management
* Update docs/api/app.md
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
---------
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2025-10-21 10:56:14 -04:00
Shelley Vohr
0a19176917
feat: enable resetting accent color ( #48274 )
2025-10-21 10:49:08 -04:00
Mitchell Cohen
0c27c1a395
fix: position window titlebar buttons correctly in Ubuntu on Wayland ( #48490 )
2025-10-20 12:42:23 -07:00
electron-roller[bot]
d920c82fc4
chore: bump chromium to 143.0.7451.0 (main) ( #48362 )
...
* chore: bump chromium in DEPS to 142.0.7429.0
* chore: bump chromium in DEPS to 142.0.7430.0
* 6954508: Reland Migrate WrappableWithNamedPropertyInterceptor to gin::Wrappable | https://chromium-review.googlesource.com/c/chromium/src/+/6954508
* https://chromium-review.googlesource.com/c/chromium/src/+/6955633
* 5584820: Fix font face resolution when renderer is blocked | https://chromium-review.googlesource.com/c/chromium/src/+/5584820
* chore: export patches
* chore: remove patch that keeley says is ok to remove in comments
* chore: bump chromium in DEPS to 142.0.7432.0
* chore: export patches
* chore: bump chromium in DEPS to 142.0.7434.0
* 6973697: Use type tags for data stored in V8 internal fields | https://chromium-review.googlesource.com/c/chromium/src/+/6973697
* 6976272: Revert Reland mac: click through content area in main window | https://chromium-review.googlesource.com/c/chromium/src/+/6976272
* chore: export patches
* 6938086: Rename native_widget_types.h -> native_ui_types.h | https://chromium-review.googlesource.com/c/chromium/src/+/6938086
* 6951252: Correct PersistentCache backed code cache context grouping
* chore: bump chromium in DEPS to 142.0.7436.0
* 6981628: Reland Use unordered_map in AcceleratorMap | https://chromium-review.googlesource.com/c/chromium/src/+/6981628
* chore: export patches
* chore: resolve patch conflict with main
* chore: merge conflict with main
* chore: bump chromium in DEPS to 142.0.7438.0
* chore: bump chromium in DEPS to 142.0.7440.0
* chore: bump chromium in DEPS to 142.0.7442.0
* chore: bump chromium in DEPS to 142.0.7444.0
* chore: bump chromium in DEPS to 143.0.7445.0
* chore: bump chromium in DEPS to 143.0.7447.0
* chore: bump chromium in DEPS to 143.0.7449.0
* chore: bump chromium in DEPS to 143.0.7451.0
* 7001364: Migrate GURL accessors to Get* variants in //content | https://chromium-review.googlesource.com/c/chromium/src/+/7001364
* 6986521: Implicit second value 'any' instead of 'span-all' for fallback query | https://chromium-review.googlesource.com/c/chromium/src/+/6986521
* chore: update chromium patches
* chore: update chromium patches
* chore: update patches
* fix: parse macOS SDK version across line break
https://chromium-review.googlesource.com/c/chromium/src/+/6980166
* fix: replace v8::Object::SetPrototype() usage
https://chromium-review.googlesource.com/c/v8/v8/+/6983465
https://github.com/nodejs/node/pull/55453
* fix: regenerate filenames.libcxx.gni
https://chromium-review.googlesource.com/c/chromium/src/+/6980307
* fix: replace additional usages of SetPrototype
https://chromium-review.googlesource.com/c/v8/v8/+/6983465
* build: use macos 15 minimum
https://chromium-review.googlesource.com/c/chromium/src/+/6980166
* ci: ignore missing dir for strip_universal_deep
* fix: js2c compilation failure
https://chromium-review.googlesource.com/c/chromium/src/+/6950738
See patch description explaining MacOS 26 SDK headers incompatibility.
* fixup! chore: export patches
* feat: add new memory-eviction exit reason
https://chromium-review.googlesource.com/c/chromium/src/+/6991933
* fix: set JSON reader parsing options
https://chromium-review.googlesource.com/c/chromium/src/+/6992114
* fix: provide DeviceEmulationCacheBehavior param
https://chromium-review.googlesource.com/c/chromium/src/+/6965238
* fix: views::NonClientFrameView -> views::FrameView
https://chromium-review.googlesource.com/c/chromium/src/+/7005027
https://chromium-review.googlesource.com/c/chromium/src/+/6966937
* fix: check new forced colors enum value
https://chromium-review.googlesource.com/c/chromium/src/+/6944403
* fix: migrate NetworkConditions -> MatchedNetworkConditions
https://chromium-review.googlesource.com/c/chromium/src/+/6827307
* fix: migrate GURL string methods to Get*()
https://chromium-review.googlesource.com/c/chromium/src/+/7007010
* fix: disable C++ modules in electron_lib builds
https://chromium-review.googlesource.com/c/chromium/src/+/6950738
* fix: partially revert is_headless_mode removal
https://chromium-review.googlesource.com/c/chromium/src/+/6955633
This patch should likely be reworked. For now, this partially reverts the
removal of a required class property to restore behavior.
* Revert "build: use macos 15 minimum"
This reverts commit 2fc12d6acc .
Initially this change was made to test if it fixes libcxx
compilation issues. As that's now resolved by disabling libcxx
modules, this can be reverted.
* fix: disable C++ modules in libnode builds
* fixup! fix: replace v8::Object::SetPrototype() usage https://chromium-review.googlesource.com/c/v8/v8/+/6983465 https://github.com/nodejs/node/pull/55453
* fixup! fix: replace v8::Object::SetPrototype() usage https://chromium-review.googlesource.com/c/v8/v8/+/6983465 https://github.com/nodejs/node/pull/55453
* build: switch to macos-15 runner
build/mac/find_sdk.py now requires macOS 15 SDK as a minimum version. The
macos 15 runners default to an Xcode using the 15 SDK and removes older
versions.
* fixup! fix: check new forced colors enum value https://chromium-review.googlesource.com/c/chromium/src/+/6944403
* fixup! fix: migrate GURL string methods to Get*() https://chromium-review.googlesource.com/c/chromium/src/+/7007010
* fix: use std::u16string for Extension::Create() error parameter
https://chromium-review.googlesource.com/c/chromium/src/+/6975452
* fix: add missing image_skia include
https://chromium-review.googlesource.com/c/chromium/src/+/6986762
* fixup! fix: add missing image_skia include https://chromium-review.googlesource.com/c/chromium/src/+/6986762
* fix: remove outdated V8 flag
https://chromium-review.googlesource.com/c/v8/v8/+/6948286
* fix: disable protocol handler DCHECK
https://chromium-review.googlesource.com/c/chromium/src/+/6727594
Ignore the extension custom protocol handler registry DCHECK until
we invest in supporting it. Replacing this DCHECK seems harmless
and will unblock the roll.
* fix: replace deprecated usage of SetPrototype
https://chromium-review.googlesource.com/c/v8/v8/+/6983465
* fixup! fix: migrate NetworkConditions -> MatchedNetworkConditions https://chromium-review.googlesource.com/c/chromium/src/+/6827307
* fixup! fix: migrate GURL string methods to Get*() https://chromium-review.googlesource.com/c/chromium/src/+/7007010
* chore: remove patch already included in roll
* chore: remove extraneous formatting added to patch
* chore: remove fix_harden_blink_scriptstate_maybefrom.patch
https://chromium-review.googlesource.com/c/chromium/src/+/6973697
No longer needed since the above CL landed.
* 6973697: Use type tags for data stored in V8 internal fields
https://chromium-review.googlesource.com/c/chromium/src/+/6973697
* chore: update patches
* fixup! chore: export patches
* chore: restore electron embedder data tag patch
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Alice Zhao <alicelovescake@anthropic.com >
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org >
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com >
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org >
2025-10-13 12:21:54 -04:00
Zuohui Yang
16b5776b01
fix: launch crash when null device is disabled on Windows ( #47870 )
...
fix: fix launch crash when null device is disabled on Windows
add node flag node::ProcessInitializationFlags::kNoStdioInitialization
Co-authored-by: yangzuohui <yangzuohui@bytedance.com >
Co-authored-by: yangliu <yangliu.leo@bytedance.com >
2025-10-11 18:00:04 -04:00
reito
9e46efb8f7
feat: offscreen rendering support rgbaf16 hdr output format. ( #48265 )
...
* feat: offscreen rendering support rgbaf16
* docs: update doc
* docs: update doc.
2025-10-09 10:33:34 +02:00
Niklas Wenzel
6e2be00f0f
docs: recommend calling renderer process modules from preload script ( #48427 )
2025-10-04 18:44:10 +02:00
Charles Kerr
497b5a68a4
docs: clarify optional args in webFrame.executeJavaScript() ( #48447 )
2025-10-04 09:28:06 -05:00