dependabot[bot]
46c344fb1c
build(deps): bump github/codeql-action from 4.30.8 to 4.30.9 ( #48606 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.30.8 to 4.30.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](f443b600d9...16140ae1a1 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.30.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-21 10:47:44 +02:00
dependabot[bot]
28cf65eb33
build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 ( #48607 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](a0853c2454...2028fbc5c2 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-21 07:30:39 +02:00
John Kleinschmidt
2a0c368105
build: use one build target ( #48527 )
...
This reverts commit Optimizes our builds for use with siso/avoids file contention on Windows
v40.0.0-nightly.20251020
2025-10-20 15:57:50 -04:00
Mitchell Cohen
0c27c1a395
fix: position window titlebar buttons correctly in Ubuntu on Wayland ( #48490 )
2025-10-20 12:42:23 -07:00
Michaela Laurencin
a528547dc8
chore: exempt tracking-upstream issues from stale ( #48574 )
2025-10-20 11:47:58 -04:00
Shelley Vohr
413803188d
fix: background hover contrast for WCO buttons ( #48568 )
2025-10-20 09:54:14 +02:00
electron-roller[bot]
1cc2fce905
chore: bump chromium to 143.0.7477.0 (main) ( #48584 )
...
* chore: bump chromium in DEPS to 143.0.7477.0
* 7049117: [CodeCache] Adjust PersistentCache for CodeCache feature
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7049117
* chore: update patches
* chore: add missing includes of ui/gfx/image/image_skia.h
* 7028738: Rename several ipc_* files used by param_traits*
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7028738
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2025-10-19 21:46:34 +02:00
electron-roller[bot]
3bfe1f2363
chore: bump chromium to 143.0.7474.0 (main) ( #48572 )
...
* chore: bump chromium in DEPS to 143.0.7474.0
* 7006208: [Mac] Fix rendering bug for manual occlusion detection on macOS 26
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7006208
* chore: update patches
* 7038563: Forward declare more in page_navigator.h
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7038563
* 7023417: Remove ipc/ipc_message_macros.h
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7023417
* 7006340: Move icon_util files to win/ subdrectory
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7006340
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2025-10-17 13:04:24 -04:00
Shelley Vohr
7e031f7e33
ci: fix publish for macOS < 26.0 ( #48575 )
v40.0.0-nightly.20251016
2025-10-16 16:53:13 -07:00
Robo
7580e3a5e2
chore: update fix_harden_blink_scriptstate_maybefrom.patch ( #48566 )
2025-10-16 10:16:17 +09:00
electron-roller[bot]
471a14432f
chore: bump chromium to 143.0.7469.0 (main) ( #48548 )
...
* chore: bump chromium in DEPS to 143.0.7469.0
* 7021651: [//gpu] Fold handle creation into D3DImageBackingFactory
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7021651
* 7013047: Fix various C++23 build errors in //chrome
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7013047
* 7010850: [//ui] Port screen_mac.mm's calls to DisplayColorSpaces
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7010850
* 7007933: Remove superfluous mojom includes in //content/public headers
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7007933
* 7023196: Trim os_crypt/sync visibility list
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7023196
* 7008912: Remove GURL::*_piece() method
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7008912
* 7003989: Add wrapper struct for CopyFromSurface output
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7003989
* 7017889: [MemoryPressureListener] Remove type aliases
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7017889
* 7027780: Delete viz::ResourceSizes
Refs https://chromium-review.googlesource.com/c/chromium/src/+/7027780
Refs https://chromium-review.googlesource.com/c/chromium/src/+/6989572
* 6495189: [api] Delete old String::Write* APIs
Refs https://chromium-review.googlesource.com/c/v8/v8/+/6495189
* chore: update patches
* chore: run script/gen-libc++-filenames.js
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com >
2025-10-15 14:10:10 -07:00
Shelley Vohr
676406c9e6
build: run on macOS 15 ( #48563 )
2025-10-14 13:29:21 -07:00
CezaryKulakowski
357e42d907
fix: fixed white flash on call to BrowserWindow.show ( #47151 )
2025-10-14 15:58:27 +02:00
お餅のCreeeper
9b740594fb
fix: enable shader-f16 on windows ( #48342 )
...
* fix: Enable shader-f16 on Windows
* fix: include dxil.dll and dxcompiler.dll for windows x64 and arm64
* fix: modified to follow the chromium dawn build configuration
* fix: include dxil.dll and dxcompiler.dll for windows x86
* fix: Modified to avoid explicitly specifying dawn_use_built_dxc
2025-10-14 15:46:12 +02:00
dependabot[bot]
9e577ae60e
build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 ( #48551 )
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](05b42c6244...4eaacf0543 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-version: 2.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 14:45:03 +02:00
dependabot[bot]
b74bd8fc35
build(deps): bump github/codeql-action from 3.30.6 to 4.30.8 ( #48552 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.30.6 to 4.30.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](64d10c1313...f443b600d9 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.30.8
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 11:29:55 +02:00
David Sanders
f494dbb609
ci: upload build cache hit rate on Windows as well ( #48550 )
2025-10-14 09:57:47 +02:00
David Sanders
8dc5999f8b
build(deps): bump @electron/typescript-definitions to 9.1.5 ( #48210 )
2025-10-13 10:46:34 -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
dependabot[bot]
d82b8f3b80
build(deps): bump github/codeql-action from 3.30.5 to 3.30.6 ( #48478 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.30.5 to 3.30.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3599b3baa1...64d10c1313 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.30.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 16:02:16 +02:00
Samuel Attard
52929c93db
build: fail publish when upload fatal errors ( #48537 )
...
We logged a fatal error but didn't exit with code 1 so the publish kept going. This was caught by a sanity check later down the release process but would have been quicker to fail out here.
Also adds some code to maybe workaround the underlying auth error
v40.0.0-nightly.20251013
2025-10-13 12:53:52 +02:00
Shelley Vohr
dd25a6361b
fix: auth required websocket crash ( #48510 )
2025-10-13 10:13:32 +02: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
David Sanders
cbf5c3331f
ci: fix release branch name in build stats script ( #48533 )
2025-10-10 22:28:09 -07:00
David Sanders
3359f90389
ci: upload build effective cache hit rate stats to Datadog ( #48509 )
2025-10-10 19:55:21 -07:00
Erick Zhao
cf9fa5ef65
docs: unmark asar integrity as experimental and clean docs ( #48434 )
2025-10-10 12:56:48 -07:00
Niklas Wenzel
550e054168
docs: update Azure Trusted Signing availability ( #48494 )
...
* docs: update Azure Trusted Signing availability
Source: https://github.com/Azure/trusted-signing-action/issues/93#issuecomment-3383517386
* docs: remove unused link
v40.0.0-nightly.20251010
2025-10-10 11:43:29 -04:00
Shelley Vohr
b992ead837
fix: dialog.showMessageBox defaultid on Windows ( #48216 )
...
* fix: dialog.showMessageBox defaultid on Windows
* Update shell/browser/ui/message_box_win.cc
Co-authored-by: Robo <hop2deep@gmail.com >
---------
Co-authored-by: Robo <hop2deep@gmail.com >
2025-10-10 15:39:23 +02:00
Shelley Vohr
11f76118db
fix: unexpected openExternal dialog on macOS Tahoe ( #48502 )
...
fix: unexpected openExternal dialog on macOS Tahoe
2025-10-10 12:48:44 +02:00
Robo
37c7487600
fix: crash when inspector evaluates on provisional frames ( #48503 )
2025-10-10 11:34:09 +02: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
dependabot[bot]
9c38917a14
build(deps): bump actions/github-script from 7.0.1 to 8.0.0 ( #48329 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 7.0.1 to 8.0.0.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](60a0d83039...ed597411d8 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: 8.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-09 10:33:24 +02:00
zoy
3a53c71324
fix: broken transparent window styles on resizable change ( #48378 )
...
* fix: wrong api call
* fix: consistency of the resize state
* fix: edge cases
* chore: add detailed comments
* fix: lint
* chore: only windows
* chore: use transparent
2025-10-09 09:49:20 +02:00
David Sanders
0d478ec69c
ci: ignore lost communication with server annotation in audit ( #48493 )
2025-10-09 09:48:56 +02:00
Erick Zhao
9143f7c6e2
docs: clarify postinstall requirements ( #48485 )
...
postinstall
2025-10-09 09:48:47 +02:00
Erick Zhao
df86312e2f
docs: add note for node_modules for Yarn and pnpm ( #48484 )
...
* Add instructions on using node_modules with Yarn
* update text for pnpm
---------
Co-authored-by: CodingOtto <otto+github@fysiker.fi >
2025-10-09 09:48:22 +02:00
Ulises Gascón
ffbae02a95
docs: add security escalation policy ( #48317 )
2025-10-08 15:19:07 -07:00
Sam Maddock
a87ee21f5c
build: bump version in .nvmrc to 22 ( #48413 )
2025-10-08 14:21:55 -04:00
electron-roller[bot]
ea8f43f9b9
chore: bump node to v22.20.0 (main) ( #48383 )
...
* chore: bump node in DEPS to v22.20.0
* chore: fixup patches
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2025-10-08 15:19:08 +02:00
Fedor Indutny
e8e91c331a
feat: dynamic ESM import in preload without context isolation ( #48375 )
...
Dynamic ESM import in non-context-isolated preload
Extend `HostImportModuleWithPhaseDynamically`'s routing to support
Node.js import resolution in non-context-isolated preloads through
`v8_host_defined_options` length check. The length of host defined
options is distinct between Blink and Node.js and we can use it to
determine which resolver to use.
v40.0.0-nightly.20251008
2025-10-08 10:44:09 +02:00
Charles Kerr
49c1139ab9
chore: remove unused reference to api::BrowserView ( #48474 )
...
chore: remove unused reference to api::BrowserView
Unused since #35658 / 15c60143
2025-10-08 10:43:28 +02:00
dependabot[bot]
16bcd645b5
build(deps): bump actions/stale from 9.1.0 to 10.1.0 ( #48477 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 9.1.0 to 10.1.0.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](5bef64f19d...5f858e3efb )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: 10.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-08 09:56:23 +02:00
John Kleinschmidt
6756974828
build: fixup chromedriver and mksnapshot ( #48470 )
...
* build: update build tools to get proper exit codes from e build
xref: https://github.com/electron/build-tools/pull/759
* build: target zips directly
mksnapshot and chromedriver have issues with siso trying to run a separate build and zip step, so just target the zip target
* build: don't unzip chromedriver and mksnapshot in tests
The contents of these files are not used in testing, so we shouldn't unzip them.
v40.0.0-nightly.20251007
2025-10-06 23:22:55 -04:00
Keeley Hammond
d6dfd4ed7a
build: handle Metal toolchain being unbundled from Xcode 26 ( #48467 )
...
* chore: add metal patch dir
* chore: cherry-pick 2f564f1ca07b from angle (#48465 )
* chore: update patch
2025-10-06 10:17:46 -04:00
Charles Kerr
a1ca9a8d55
refactor: DRY in App::SetAppLogPath() ( #48452 )
v40.0.0-nightly.20251006
2025-10-05 12:32:28 -05:00
Charles Kerr
38e491689a
perf: avoid a little extra work in InvokeIpcCallback() ( #48456 )
...
perf: two minor perf refactors in InvokeIpcCallback()
1. Allocate the CallbackScope on the stack instead of the heap
2. Skip a redundant call to node::Environment::GetCurrent()
2025-10-04 21:52:53 -07: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
Kaiichiro Ota
715808ecbe
docs: mention that webUtils should be used via preload script ( #45861 )
...
* docs: mention that webUtils should be used via preload script
* docs: suppress lint errors
* docs: clarify webUtils usage scope
* docs: exclude potentially dangerous alert() in the example code
* docs: minor change
* docs: minor change
* docs: minor change
* docs: minor change
* docs: minor change
* docs: minor change
* docs: minor change
* docs: minor change
* docs: minor change
* docs: minor change
* docs: make linter happy
* docs: apply suggestion
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* docs: apply suggestion
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* docs: apply suggestion
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
* docs: minor change
* docs: minor change
* docs: remove preload line
---------
Co-authored-by: Niklas Wenzel <dev@nikwen.de >
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
2025-10-03 13:07:38 -07:00
Charles Kerr
01cab978f7
refactor: remove gin_helper::Arguments ( #48374 )
...
* refactor: make api::Clipboard::GetClipboardBuffer() private
* refactor: move GetClipboadBuffer() into anonymous namespace
* refactor: use gin::Arguments in StopRecording()
* refactor: use gin::Arguments in ImageView::New()
* refactor: use gin::Arguments in AppendSwitch()
* refactor: use gin::Arguments WebContentsView::New()
* refactor: make gin::Arguments arg const in WrappableBase::InitWithArgs()
This makes explicit that we are using it for wrapper + isolate, not the args values
* refactor: remove gin_helper::Arguments arg from ExposeAPI()
refactor: remove gin_helper::Arguments arg from ExposeAPIInWorld()
* refactor: remove gin_helper::Arguments arg from ElectronBindings::GetSystemMemoryInfo()
* refactor: remove gin_helper::Arguments arg from preload_utils::GetBinding()
* refactor: use gin::Arguments in OpenExternal()
* refactor: use gin::Arguments in ExecuteInWorld()
* refactor: use gin::Arguments in ExecuteJavaScript()
* refactor: use gin::Arguments in InvokeNew()
* refactor: use gin::Arguments in ExecuteJavaScriptInIsolatedWorld()
* refactor: remove unused GetNextArgument() marshaller for gin_helper::Arguments
* refactor: remove unused #include gin_helper/arguments.h
* chore: remove unused gin_helper::Arguments
* fixup! refactor: use gin::Arguments in ExecuteJavaScriptInIsolatedWorld()
Xref: https://github.com/electron/electron/pull/48447
2025-10-03 14:10:29 -05:00