🌐 AI搜索 & 代理 主页
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
283 commits
Select commit Hold shift + click to select a range
88531c4
test: support for multimonitor tests (#47911)
nilayarya Aug 11, 2025
319a710
fix: native-addon forceCleanup
nilayarya Aug 11, 2025
06b5164
docs: add forceCleanup description
nilayarya Aug 11, 2025
1401bcc
test: add two basic multi-monitor tests
nilayarya Aug 11, 2025
cc1783f
fix: find the closest display for non-overlapping saved bounds
nilayarya Aug 11, 2025
777f535
test: windowStatePersistence multi-monitor tests
nilayarya Aug 12, 2025
c7e2fb0
docs: add note on display APIs in CI
nilayarya Aug 12, 2025
9ef4482
Merge branch 'gsoc-2025' into multi-monitor-tests
nilayarya Aug 12, 2025
a3c621d
Merge remote-tracking branch 'origin/multi-monitor-tests' into multi-…
nilayarya Aug 12, 2025
8f327e7
fix: remove duplicate destroy registration
nilayarya Aug 12, 2025
65345ee
feat: enforce unique window names across BaseWindow and BrowserWindow…
nilayarya Aug 12, 2025
364b65e
chore: merge gsoc-2025
nilayarya Aug 12, 2025
c3270ca
chore: merge gsoc-2025
nilayarya Aug 12, 2025
1115ee7
docs: remove inaccurate comment
nilayarya Aug 12, 2025
2e2ac23
fix: move expect blocks outside beforeEach
nilayarya Aug 13, 2025
e2ebd1c
test: set show to true
nilayarya Aug 13, 2025
1208af4
test: exclude macOS-x64 for now
nilayarya Aug 14, 2025
aeb0499
test: remove invalid display test
nilayarya Aug 14, 2025
598967f
test: remove invalid display test
nilayarya Aug 14, 2025
8784211
docs: restored-window-state event
nilayarya Aug 14, 2025
2c78fb3
feat: add 'restored-window-state' event to BaseWindow
nilayarya Aug 14, 2025
e5bc395
test: add tests for 'restored-window-state' event emission
nilayarya Aug 14, 2025
26f5a0a
Merge remote-tracking branch 'origin/restore-window-new' into multi-m…
nilayarya Aug 14, 2025
73c9db8
Merge remote-tracking branch 'origin/multi-monitor-tests' into event-…
nilayarya Aug 14, 2025
7e0de05
fix: remove header created during merge
nilayarya Aug 14, 2025
018336d
test: move createWindowAndSave
nilayarya Aug 14, 2025
0e05e3b
chore: merge upstream/main
nilayarya Aug 19, 2025
f22b48e
docs: differentiate between name and title
nilayarya Aug 20, 2025
e0db404
refactor: allocate gin_helper::internal::Event on cpp heap (#48161)
deepak1556 Aug 27, 2025
89f25e6
build(deps): bump github/codeql-action from 3.29.10 to 3.29.11 (#48174)
dependabot[bot] Aug 27, 2025
a51c56a
build(deps): bump amannn/action-semantic-pull-request from 6.0.1 to 6…
dependabot[bot] Aug 27, 2025
fea1a2a
ci: use free GH arm runners (#47872)
jkleinsc Aug 27, 2025
6d2d702
chore: merge gsoc-2025
nilayarya Aug 27, 2025
bf29d2f
docs: fix some module headings (#48177)
erickzhao Aug 27, 2025
cca5511
build: refactor Linux binary stripping to align with upstream (#47932)
dsanders11 Aug 28, 2025
f331606
build: bump NMV to 140 (#48196)
dsanders11 Aug 28, 2025
e39943b
fix: BrowserWindow add the same BrowserView (#48053)
mai-121 Aug 28, 2025
ca19aa6
docs: improve docs for name property and fix typos
nilayarya Aug 28, 2025
5d5e672
chore: bump chromium to 141.0.7361.0 (main) (#48054)
electron-roller[bot] Aug 29, 2025
3f25741
Merge remote-tracking branch 'upstream/main' into event-emitters
nilayarya Aug 29, 2025
549107f
fix: showMessageDialog should center dialog to parent (#48181)
nilayarya Aug 29, 2025
5f60d8a
fix: ensure dragging works again after emitting contextmenu event (#4…
nilayarya Aug 29, 2025
0375772
fix: file-only picker incorrectly allowing some directories (#48198)
nilayarya Aug 29, 2025
4689712
docs: move some planned breaking changes to 39 (#48236)
nilayarya Sep 1, 2025
dca970a
build: update spec deps for clean audit (#48238)
nilayarya Sep 3, 2025
474ef4f
chore: bump node to v22.19.0 (main) (#48222)
nilayarya Sep 5, 2025
bd58128
chore: bump chromium to 141.0.7390.7 (main) (#48212)
nilayarya Sep 8, 2025
9c9c3ae
chore: update patches (#48278)
nilayarya Sep 8, 2025
aa23f13
docs: update release timeline for unsupported v35 (#48285)
nilayarya Sep 9, 2025
64919a2
build(deps): bump github/codeql-action from 3.29.11 to 3.30.1 (#48283)
nilayarya Sep 10, 2025
1179d91
refactor: avoid unused inheritance in ServiceWorkerMain (#48279)
nilayarya Sep 10, 2025
c38f031
build(deps): bump actions/setup-node from 4.4.0 to 5.0.0 (#48282)
nilayarya Sep 11, 2025
c87509a
refactor: allocate api::Debugger on cpp heap (#48266)
nilayarya Sep 11, 2025
9b572e6
fix: set ozone platform for wayland (#48301)
nilayarya Sep 12, 2025
e560935
refactor: narrow or remove gin arguments (#48300)
nilayarya Sep 12, 2025
1215992
ci: Use Local Execution, Remote Caching (LERC) for fork PRS (#48319)
nilayarya Sep 15, 2025
9da32bb
feat: add `fileSystem` to `ses.setPermissionCheckHandler` (#48170)
nilayarya Sep 15, 2025
13f40d0
refactor: make api::NetLog inherit from gin::Wrappable (#48308)
nilayarya Sep 15, 2025
d865e7a
fix: remove unneeded handlescope from JS callbacks (#48318)
nilayarya Sep 15, 2025
019ac29
chore: cherry-pick ec6c18478382 from v8 (#48335)
nilayarya Sep 17, 2025
1ca5bf8
build: update build tools to get siso for forks fix (#48345)
nilayarya Sep 18, 2025
7c15940
refactor: use gin::Arguments in api::Clipboard (#48354)
nilayarya Sep 22, 2025
486d344
chore: bump chromium to 142.0.7417.0 (main) (#48275)
nilayarya Sep 23, 2025
146ccd0
build: update patches (#48364)
nilayarya Sep 23, 2025
b51c6ac
docs: mention `setContentProtection` macOS limitations (#48290)
nilayarya Sep 23, 2025
86cd274
chore: remove unused, undocumented, untested executionMode arg from `…
nilayarya Sep 24, 2025
03ed226
refactor: use gin::Arguments in BaseWindow (#48355)
nilayarya Sep 24, 2025
624c27a
test: rerun failed tests individually (#48205)
nilayarya Sep 24, 2025
efe9c39
refactor: prefer upstream `gin::Arguments::ThrowTypeError()` over `gi…
nilayarya Sep 25, 2025
0ba9eb8
refactor: make api::Menu inherit from gin::Wrappable (#48351)
nilayarya Sep 25, 2025
37c398f
fix: disable NSAutoFillHeuristicController on macOS 26 (#48379)
nilayarya Sep 25, 2025
e408f1b
fix: MacOS 26 Tahoe - stop overriding private cornerMask API to fix W…
nilayarya Sep 26, 2025
43170b4
fix: add missed enum `SaveRequestType` to PdfViewerPrivate function (…
nilayarya Sep 26, 2025
fef9e08
build: add missing copied tarball to cloudstore paths (#48408)
nilayarya Sep 29, 2025
8500152
fix: runtime JS error that crashes `GetPackageJSON` (#48293)
nilayarya Sep 30, 2025
5ad7940
build(deps): bump github/codeql-action from 3.30.1 to 3.30.5 (#48420)
nilayarya Sep 30, 2025
91d1269
docs: fix formatting in asar integrity (#48431)
nilayarya Oct 2, 2025
2c005b7
fix: snapped window restoring to correct position (#48296)
nilayarya Oct 2, 2025
ae6bedd
fix: initialze featurelist before parsing features (#48411)
nilayarya Oct 2, 2025
69129b5
docs: update allowed `window.open` options (#48428)
nilayarya Oct 2, 2025
3e4c205
fix: accentColor set distinguishes the frame (#48405)
nilayarya Oct 3, 2025
d0ba2a1
refactor: remove `gin_helper::Arguments` (#48374)
nilayarya Oct 3, 2025
e5dce68
docs: mention that webUtils should be used via preload script (#45861)
nilayarya Oct 3, 2025
3cf1b06
docs: clarify optional args in webFrame.executeJavaScript() (#48447)
nilayarya Oct 4, 2025
451bba4
docs: recommend calling renderer process modules from preload script …
nilayarya Oct 4, 2025
1947e73
perf: avoid a little extra work in `InvokeIpcCallback()` (#48456)
nilayarya Oct 5, 2025
929ee81
refactor: DRY in App::SetAppLogPath() (#48452)
nilayarya Oct 5, 2025
e9f348a
build: handle Metal toolchain being unbundled from Xcode 26 (#48467)
nilayarya Oct 6, 2025
ac4dceb
build: fixup chromedriver and mksnapshot (#48470)
nilayarya Oct 7, 2025
5b031bc
build(deps): bump actions/stale from 9.1.0 to 10.1.0 (#48477)
nilayarya Oct 8, 2025
34aac59
chore: remove unused reference to `api::BrowserView` (#48474)
nilayarya Oct 8, 2025
07036b7
feat: dynamic ESM import in preload without context isolation (#48375)
nilayarya Oct 8, 2025
77129af
chore: bump node to v22.20.0 (main) (#48383)
nilayarya Oct 8, 2025
7e4115d
build: bump version in .nvmrc to 22 (#48413)
nilayarya Oct 8, 2025
f1c484a
docs: add security escalation policy (#48317)
nilayarya Oct 8, 2025
b08b87e
docs: add note for `node_modules` for Yarn and pnpm (#48484)
nilayarya Oct 9, 2025
cf96b89
docs: clarify postinstall requirements (#48485)
nilayarya Oct 9, 2025
f332958
ci: ignore lost communication with server annotation in audit (#48493)
nilayarya Oct 9, 2025
88ee4b5
fix: broken transparent window styles on resizable change (#48378)
nilayarya Oct 9, 2025
dcb21b8
build(deps): bump actions/github-script from 7.0.1 to 8.0.0 (#48329)
nilayarya Oct 9, 2025
6d847ba
feat: offscreen rendering support rgbaf16 hdr output format. (#48265)
nilayarya Oct 9, 2025
b482f08
fix: crash when inspector evaluates on provisional frames (#48503)
nilayarya Oct 10, 2025
8e7d3c1
fix: unexpected `openExternal` dialog on macOS Tahoe (#48502)
nilayarya Oct 10, 2025
63d1438
fix: `dialog.showMessageBox` defaultid on Windows (#48216)
nilayarya Oct 10, 2025
be63f37
docs: update Azure Trusted Signing availability (#48494)
nilayarya Oct 10, 2025
348cd96
docs: unmark asar integrity as experimental and clean docs (#48434)
nilayarya Oct 10, 2025
fa0ce9a
ci: upload build effective cache hit rate stats to Datadog (#48509)
nilayarya Oct 11, 2025
945feef
ci: fix release branch name in build stats script (#48533)
nilayarya Oct 11, 2025
3a2ccb4
fix: launch crash when null device is disabled on Windows (#47870)
nilayarya Oct 11, 2025
26c236a
fix: auth required websocket crash (#48510)
nilayarya Oct 13, 2025
02d0da4
build: fail publish when upload fatal errors (#48537)
nilayarya Oct 13, 2025
75048e8
build(deps): bump github/codeql-action from 3.30.5 to 3.30.6 (#48478)
nilayarya Oct 13, 2025
c0beeb5
chore: bump chromium to 143.0.7451.0 (main) (#48362)
nilayarya Oct 13, 2025
7620c38
build(deps): bump @electron/typescript-definitions to 9.1.5 (#48210)
nilayarya Oct 13, 2025
fa67c34
ci: upload build cache hit rate on Windows as well (#48550)
nilayarya Oct 14, 2025
cb02315
build(deps): bump github/codeql-action from 3.30.6 to 4.30.8 (#48552)
nilayarya Oct 14, 2025
e55e9e0
build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 (#48551)
nilayarya Oct 14, 2025
a43c96a
fix: enable shader-f16 on windows (#48342)
nilayarya Oct 14, 2025
59dd254
fix: fixed white flash on call to BrowserWindow.show (#47151)
nilayarya Oct 14, 2025
4b24688
build: run on macOS 15 (#48563)
nilayarya Oct 14, 2025
d7fd4e5
chore: bump chromium to 143.0.7469.0 (main) (#48548)
nilayarya Oct 15, 2025
47ec145
chore: update fix_harden_blink_scriptstate_maybefrom.patch (#48566)
nilayarya Oct 16, 2025
3886763
ci: fix publish for macOS < 26.0 (#48575)
nilayarya Oct 16, 2025
8269b94
chore: bump chromium to 143.0.7474.0 (main) (#48572)
nilayarya Oct 17, 2025
cb1f6ed
chore: bump chromium to 143.0.7477.0 (main) (#48584)
nilayarya Oct 19, 2025
82e2edc
fix: background hover contrast for WCO buttons (#48568)
nilayarya Oct 20, 2025
cf47342
chore: exempt tracking-upstream issues from stale (#48574)
nilayarya Oct 20, 2025
ef22c17
fix: position window titlebar buttons correctly in Ubuntu on Wayland …
nilayarya Oct 20, 2025
2a58561
build: use one build target (#48527)
nilayarya Oct 20, 2025
9478d59
build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 (#48607)
nilayarya Oct 21, 2025
6f5e5da
build(deps): bump github/codeql-action from 4.30.8 to 4.30.9 (#48606)
nilayarya Oct 21, 2025
a42d326
chore: bump chromium to 143.0.7483.0 (main) (#48590)
nilayarya Oct 21, 2025
505927d
fix: `trafficLightPosition` incorrect with `customButtonsOnHover` (#4…
nilayarya Oct 21, 2025
8d0f308
fix: devtools crashing on Linux in detach mode (#48600)
nilayarya Oct 21, 2025
bfbe470
fix: `systemPreferences.getAccentColor` inverted color (#48511)
nilayarya Oct 21, 2025
13f7741
feat: enable resetting accent color (#48274)
nilayarya Oct 21, 2025
76ba1f4
feat: enable more granular a11y feature management (#48042)
nilayarya Oct 21, 2025
fc1b366
build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#48051)
nilayarya Oct 21, 2025
45added
feat: Add `getAccentColor` on Linux (#48027)
nilayarya Oct 21, 2025
7491f8d
fix: icon in Windows toast notification (#48543)
nilayarya Oct 21, 2025
c20789a
chore: bump chromium to 143.0.7485.0 (main) (#48618)
nilayarya Oct 23, 2025
b9ded2b
docs: fix Ubuntu version used to build Electron (#48638)
nilayarya Oct 23, 2025
e20f672
ci: add more fields to Slack payload for backport requested message (…
nilayarya Oct 23, 2025
3aa5710
chore: bump nan to 2.23.0 (#48591)
nilayarya Oct 23, 2025
359ff9b
fix: remove `killed` check to allow multiple signals (#40667)
nilayarya Oct 23, 2025
5d53790
docs: security.md mark 'Enable process sandboxing' as active by defau…
nilayarya Oct 23, 2025
12ba644
chore: bump chromium to 143.0.7489.0 (main) (#48642)
nilayarya Oct 23, 2025
af8790a
chore: bump chromium to 143.0.7491.0 (main) (#48650)
nilayarya Oct 24, 2025
4ce742b
fix: crash on empty dialog extensions array on Windows (#48640)
nilayarya Oct 25, 2025
c1067fd
build(deps-dev): bump webpack-cli from 5.1.4 to 6.0.1 (#48651)
nilayarya Oct 27, 2025
695b20c
fix: logical bug in install.js env var handling (#48634)
nilayarya Oct 27, 2025
8615f35
docs: modify the thickFrame doc (#48579)
nilayarya Oct 27, 2025
6c882d3
feat: add `app.isHardwareAccelerationEnabled()` (#47614)
nilayarya Oct 27, 2025
ace530a
refactor: avoid deprecated views a11y api (#47674)
nilayarya Oct 27, 2025
16c9dfa
docs: add net.isOnline() to online/offline detection tutorial (#48665)
nilayarya Oct 27, 2025
cfdd1e4
docs: security.md use runnable examples for permissions and csp (#43248)
nilayarya Oct 27, 2025
1709921
build(deps-dev): bump typescript from 5.6.2 to 5.8.3 (#48694)
nilayarya Oct 28, 2025
6942eb9
build(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 (#48693)
nilayarya Oct 28, 2025
c57912a
ci: use `<sup>` in release notes generator (#48690)
nilayarya Oct 28, 2025
993304a
feat: Focus DevTools when breakpoint is triggered (#46386)
nilayarya Oct 28, 2025
bf93484
build(deps): bump github/codeql-action from 4.30.9 to 4.31.0 (#48692)
nilayarya Oct 28, 2025
dcf0a9a
build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 (#48691)
nilayarya Oct 28, 2025
0aca062
chore: bump chromium to 143.0.7497.0 (main) (#48657)
nilayarya Oct 28, 2025
13d2b8f
fix: use correct signal variable in nan-spec-runner install check (#4…
nilayarya Oct 28, 2025
c32564d
fix: allow disabling all `NSMenuItems` (#48598)
nilayarya Oct 28, 2025
49a1fe6
docs: add caveats for Electron PipeWire implementation (#48242)
nilayarya Oct 28, 2025
6ea231d
docs: remove inaccurate EOL deprecation process (#48696)
nilayarya Oct 28, 2025
023702c
docs: add release timeline for Electron 40 (#48663)
nilayarya Oct 28, 2025
38a7fbb
build: bump NMV to 143 for Electron 40 (#48714)
nilayarya Oct 28, 2025
80ed769
docs: use relative link for `OffscreenSharedTexture` (#48717)
nilayarya Oct 28, 2025
075cedf
chore: bump chromium to 143.0.7499.0 (main) (#48707)
nilayarya Oct 29, 2025
a39fe86
refactor: remove redundant map lookups in `browser/api/menu.ts` (#48706)
nilayarya Oct 29, 2025
f055058
chore: upgrade Node.js to v24.10.0 (#48613)
nilayarya Oct 30, 2025
df2aee7
chore: bump chromium to 144.0.7500.0 (main) (#48725)
nilayarya Oct 31, 2025
5d5dd31
refactor: use Object.values() instead of Object.keys() in stringifyVa…
nilayarya Oct 31, 2025
ce4e9b7
docs: clarify BrowserWindow and App API support status on Wayland (#4…
nilayarya Oct 31, 2025
ebb7cb3
docs: explain how to handle incoming drag and drop (#48718)
nilayarya Nov 3, 2025
2783209
fix: release mouse buttons on focus loss on Wayland (#48752)
nilayarya Nov 3, 2025
0521332
fix: use app name as a part of tray id on Linux (#48675)
nilayarya Nov 3, 2025
db982f9
chore: bump chromium to 144.0.7506.0 (main) (#48744)
nilayarya Nov 4, 2025
1cb8f09
build: remove patch that landed in Chromium roll (#48771)
nilayarya Nov 4, 2025
5546128
feat: add SF Symbol support to NativeImage::CreateFromNamedImage (#48…
nilayarya Nov 4, 2025
b220c0c
build(deps): bump actions-cool/issues-helper from 3.6.2 to 3.7.1 (#48…
nilayarya Nov 4, 2025
5e0f355
build(deps): bump github/codeql-action from 4.31.0 to 4.31.2 (#48764)
nilayarya Nov 4, 2025
38a11b1
chore: bump node to v24.11.0 (main) (#48728)
nilayarya Nov 4, 2025
c824be0
build: apply additional compression on upload (#48766)
nilayarya Nov 4, 2025
8933189
fix: draw smoothing round rect corner (#48769)
nilayarya Nov 5, 2025
ff05f5b
refactor: remove `base::AdaptCallbackForRepeating` patch (#48774)
nilayarya Nov 5, 2025
9066060
refactor: remove unnecessary template type in `EmitEvent()` (#48778)
nilayarya Nov 5, 2025
41e6c38
fix: revert allow disabling all NSMenuItems, fix menu crash (#48794)
nilayarya Nov 5, 2025
0b490b5
refactor: remove `electron::WebRequestAPI` interface (#48792)
nilayarya Nov 6, 2025
9c1f06b
build: use --keep-non-patch flag with git am (#48797)
nilayarya Nov 6, 2025
05e26ba
fix: oom crash in v8 when optimizing wasm (#48791)
nilayarya Nov 6, 2025
e16368d
fix(reland): allow disabling all `NSMenuItems` (#48795)
nilayarya Nov 7, 2025
cd04229
feat: add `sharedTexture` module to import shared texture (#47317)
nilayarya Nov 7, 2025
2bc8014
refactor: remove `allow_unsafe_buffers` pragma from `FD_ZERO` (#48811)
nilayarya Nov 7, 2025
d2313f6
fix: CSD window frame tiles properly on Wayland (#48765)
nilayarya Nov 7, 2025
c1349cb
fix: enable wasm trap handlers in all Node.js processes (#48788)
nilayarya Nov 7, 2025
8b9af35
chore: bump chromium to 144.0.7512.1 (main) (#48768)
nilayarya Nov 7, 2025
4099d8d
docs: Update 404 devtools extension documentation link (#48813)
nilayarya Nov 7, 2025
6ba0e0c
chore: update patches (#48847)
nilayarya Nov 7, 2025
e567d12
refactor: remove `spellcheck::kWinDelaySpellcheckServiceInit` patch (…
nilayarya Nov 8, 2025
430536e
refactor: decouple `api::WebRequest` from `api::BrowserContext` (#48848)
nilayarya Nov 9, 2025
283736c
fix: ESM-from-CJS import when CJK is in path (#48855)
nilayarya Nov 10, 2025
1f6e2dc
refactor: remove unused `ExtensionActionAPI` methods & fields (#48850)
nilayarya Nov 10, 2025
0712e55
build: add missing header for SetStackDumpFirstChanceCallback (#48860)
nilayarya Nov 10, 2025
5e9bf3d
fix: the parent window remained interactive after the modal window wa…
nilayarya Nov 10, 2025
85ea299
chore: bump chromium to 144.0.7514.0 (main) (#48840)
nilayarya Nov 10, 2025
fbf26ef
docs: update macOS version support in README (#48785)
nilayarya Nov 10, 2025
0281871
chore: bump chromium to 144.0.7520.0 (main) (#48869)
nilayarya Nov 10, 2025
3984965
feat: support WebSocket authentication handling (#48512)
nilayarya Nov 10, 2025
5a5a2a1
feat: add bypassCustomProtocolHandlers option to net.request (#47331)
nilayarya Nov 10, 2025
c542512
docs: remove electronegativity (#48878)
nilayarya Nov 11, 2025
8e2114d
refactor: use gin_helper's `gin::Wrappable`-to-`v8::Local` converter …
nilayarya Nov 11, 2025
00f9d46
chore: delay load pdfjs-dist for pdf spec (#48888)
nilayarya Nov 11, 2025
3e94144
chore: bump chromium to 144.0.7521.0 (main) (#48880)
nilayarya Nov 11, 2025
dff8cc2
build: remove track `SSL_ERROR_ZERO_RETURN` explicitly patch (#48875)
nilayarya Nov 11, 2025
2a4684f
ci: exclude top-level docs files from full CI (#48872)
nilayarya Nov 11, 2025
24cc050
build(deps-dev): bump @electron/asar from 3.2.13 to 4.0.1 (#48721)
nilayarya Nov 11, 2025
08bbec3
build: roll Mantle and remove patch (#38437)
nilayarya Nov 11, 2025
e8c1eb6
fix: restore window's canHide property on macOS (#47970)
nilayarya Nov 11, 2025
b73dbd6
build(deps): bump actions-cool/issues-helper from 3.7.1 to 3.7.2 (#48…
nilayarya Nov 11, 2025
f6ffd0a
docs: fix v40 stable release date (#48889)
nilayarya Nov 12, 2025
01bd9d5
docs: deprecate clipboard API access from renderer processes (#48877)
nilayarya Nov 12, 2025
bd0a60f
refactor: make `api::WebRequest` inherit from `gin::Wrappable` (#48762)
nilayarya Nov 12, 2025
e239d02
fix: Windows: Calling window.setFocusable(true) will no longer cause…
nilayarya Nov 12, 2025
0018735
chore: bump chromium to 144.0.7522.0 (main) (#48892)
nilayarya Nov 13, 2025
49fed7f
build: apply additional compression to dsym on upload (#48930)
nilayarya Nov 13, 2025
f7f285a
docs: clarify meaning of string value for menu item icon (#48919)
nilayarya Nov 13, 2025
e92a95c
feat: add --disable-geolocation command-line flag for macOS (#45934)
nilayarya Nov 13, 2025
8088028
docs: explain how to load SF Symbols with `nativeImage` (#48908)
nilayarya Nov 13, 2025
c9d8781
chore: bump chromium to 144.0.7526.0 (main) (#48932)
nilayarya Nov 13, 2025
f330705
fix: crash on windows when UTF-8 is in path (#48898)
nilayarya Nov 13, 2025
8a9d8aa
docs: fix docs for `app.isHardwareAccelerationEnabled()` (#48925)
nilayarya Nov 13, 2025
91d6c42
test: fix types in chromium-spec (#48943)
nilayarya Nov 13, 2025
bde10a0
fix: handle tar.xz files in uploaders, add to breaking changes (#48941)
nilayarya Nov 13, 2025
2e83738
refactor: use `std::map::extract()` in `api::WebRequest` (#48929)
nilayarya Nov 13, 2025
0a6d0c0
build: correct uploader copy for tar files (#48953)
nilayarya Nov 14, 2025
4deaa45
test: add `view.getBounds|setBounds` tests (#48936)
nilayarya Nov 14, 2025
81236e4
feat: validate integrity of ASAR Integrity dictionary on macOS (#48587)
nilayarya Nov 14, 2025
460b97a
build: limit workflow gh token permissions (#48237)
nilayarya Nov 14, 2025
78770bb
fix: revert enabling WASM trap handlers in all Node.js processes (#48…
nilayarya Nov 14, 2025
6e82e75
build: add header for SetStackDumpFirstChanceCallback in renderer cli…
nilayarya Nov 15, 2025
128b92f
chore: merge upstream/main
nilayarya Nov 19, 2025
2735f26
refactor: rename BaseWindow.clearWindowState to clearPersistedState
nilayarya Nov 19, 2025
1b98058
refactor: rename event restored-window-state to restored-persisted-state
nilayarya Nov 19, 2025
6172df6
docs: better docs for virtual display addon
nilayarya Nov 20, 2025
533aaf2
docs: better docs for virtual display addon
nilayarya Nov 20, 2025
905cf8b
fix: ensure only single display before multi monitor tests
nilayarya Nov 20, 2025
d209a14
docs: tutorial for windowStatePersistence
nilayarya Nov 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
76 changes: 20 additions & 56 deletions .github/actions/build-electron/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ inputs:
is-release:
description: 'Is release build'
required: true
strip-binaries:
description: 'Strip binaries (Linux only)'
required: false
generate-symbols:
description: 'Generate symbols'
required: true
Expand Down Expand Up @@ -63,34 +60,39 @@ runs:
sudo launchctl limit maxfiles 65536 200000
fi

NINJA_SUMMARIZE_BUILD=1 e build
if [ "${{ inputs.is-release }}" = "true" ]; then
NINJA_SUMMARIZE_BUILD=1 e build --target electron:release_build
else
NINJA_SUMMARIZE_BUILD=1 e build --target electron:testing_build
fi
cp out/Default/.ninja_log out/electron_ninja_log
node electron/script/check-symlinks.js
- name: Strip Electron Binaries ${{ inputs.step-suffix }}
shell: bash
if: ${{ inputs.strip-binaries == 'true' }}
run: |
cd src
electron/script/copy-debug-symbols.py --target-cpu="${{ inputs.target-arch }}" --out-dir=out/Default/debug --compress
electron/script/strip-binaries.py --target-cpu="${{ inputs.target-arch }}" --verbose
electron/script/add-debug-link.py --target-cpu="${{ inputs.target-arch }}" --debug-dir=out/Default/debug
- name: Build Electron dist.zip ${{ inputs.step-suffix }}

# Upload build stats to Datadog
if ! [ -z $DD_API_KEY ]; then
if [ "$TARGET_PLATFORM" = "win" ]; then
npx node electron/script/build-stats.mjs out/Default/siso.exe.INFO --upload-stats || true
else
npx node electron/script/build-stats.mjs out/Default/siso.INFO --upload-stats || true
fi
else
echo "Skipping build-stats.mjs upload because DD_API_KEY is not set"
fi
- name: Verify dist.zip ${{ inputs.step-suffix }}
shell: bash
run: |
cd src
e build --target electron:electron_dist_zip
cd src
if [ "${{ inputs.is-asan }}" != "true" ]; then
target_os=${{ inputs.target-platform == 'macos' && 'mac' || inputs.target-platform }}
if [ "${{ inputs.artifact-platform }}" = "mas" ]; then
target_os="${target_os}_mas"
fi
electron/script/zip_manifests/check-zip-manifest.py out/Default/dist.zip electron/script/zip_manifests/dist_zip.$target_os.${{ inputs.target-arch }}.manifest
fi
- name: Build Mksnapshot ${{ inputs.step-suffix }}
- name: Fixup Mksnapshot ${{ inputs.step-suffix }}
shell: bash
run: |
cd src
e build --target electron:electron_mksnapshot
ELECTRON_DEPOT_TOOLS_DISABLE_LOG=1 e d gn desc out/Default v8:run_mksnapshot_default args > out/Default/mksnapshot_args
# Remove unused args from mksnapshot_args
SEDOPTION="-i"
Expand All @@ -100,20 +102,6 @@ runs:
sed $SEDOPTION '/.*builtins-pgo/d' out/Default/mksnapshot_args
sed $SEDOPTION '/--turbo-profiling-input/d' out/Default/mksnapshot_args

if [ "${{ inputs.target-platform }}" = "linux" ]; then
if [ "${{ inputs.target-arch }}" = "arm" ]; then
electron/script/strip-binaries.py --file $PWD/out/Default/clang_x86_v8_arm/mksnapshot
electron/script/strip-binaries.py --file $PWD/out/Default/clang_x86_v8_arm/v8_context_snapshot_generator
elif [ "${{ inputs.target-arch }}" = "arm64" ]; then
electron/script/strip-binaries.py --file $PWD/out/Default/clang_x64_v8_arm64/mksnapshot
electron/script/strip-binaries.py --file $PWD/out/Default/clang_x64_v8_arm64/v8_context_snapshot_generator
else
electron/script/strip-binaries.py --file $PWD/out/Default/mksnapshot
electron/script/strip-binaries.py --file $PWD/out/Default/v8_context_snapshot_generator
fi
fi

e build --target electron:electron_mksnapshot_zip
if [ "${{ inputs.target-platform }}" = "win" ]; then
cd out/Default
powershell Compress-Archive -update mksnapshot_args mksnapshot.zip
Expand Down Expand Up @@ -147,7 +135,6 @@ runs:
shell: bash
run: |
cd src
e build --target electron:electron_chromedriver
e build --target electron:electron_chromedriver_zip

if [ "${{ inputs.is-asan }}" != "true" ]; then
Expand All @@ -157,11 +144,6 @@ runs:
fi
electron/script/zip_manifests/check-zip-manifest.py out/Default/chromedriver.zip electron/script/zip_manifests/chromedriver_zip.$target_os.${{ inputs.target-arch }}.manifest
fi
- name: Build Node.js headers ${{ inputs.step-suffix }}
shell: bash
run: |
cd src
e build --target electron:node_headers
- name: Create installed_software.json ${{ inputs.step-suffix }}
shell: powershell
if: ${{ inputs.is-release == 'true' && inputs.target-platform == 'win' }}
Expand All @@ -181,17 +163,11 @@ runs:
# Needed for msdia140.dll on 64-bit windows
cd src
export PATH="$PATH:$(pwd)/third_party/llvm-build/Release+Asserts/bin"
- name: Generate & Zip Symbols ${{ inputs.step-suffix }}
- name: Zip Symbols ${{ inputs.step-suffix }}
shell: bash
run: |
# Generate breakpad symbols on release builds
if [ "${{ inputs.generate-symbols }}" = "true" ]; then
e build --target electron:electron_symbols
fi
cd src
export BUILD_PATH="$(pwd)/out/Default"
e build --target electron:licenses
e build --target electron:electron_version_file
if [ "${{ inputs.is-release }}" = "true" ]; then
DELETE_DSYMS_AFTER_ZIP=1 electron/script/zip-symbols.py -b $BUILD_PATH
else
Expand All @@ -204,18 +180,6 @@ runs:
cd src
gn gen out/ffmpeg --args="import(\"//electron/build/args/ffmpeg.gn\") use_remoteexec=true use_siso=true $GN_EXTRA_ARGS"
e build --target electron:electron_ffmpeg_zip -C ../../out/ffmpeg
- name: Generate Hunspell Dictionaries ${{ inputs.step-suffix }}
shell: bash
if: ${{ inputs.is-release == 'true' && inputs.target-platform == 'linux' }}
run: |
e build --target electron:hunspell_dictionaries_zip
- name: Generate Libcxx ${{ inputs.step-suffix }}
shell: bash
if: ${{ inputs.is-release == 'true' && inputs.target-platform == 'linux' }}
run: |
e build --target electron:libcxx_headers_zip
e build --target electron:libcxxabi_headers_zip
e build --target electron:libcxx_objects_zip
- name: Remove Clang problem matcher
shell: bash
run: echo "::remove-matcher owner=clang::"
Expand Down
1 change: 0 additions & 1 deletion .github/actions/checkout/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ runs:
run: |
rm -rf src/android_webview
rm -rf src/ios/chrome
rm -rf src/third_party/blink/web_tests
rm -rf src/third_party/blink/perf_tests
rm -rf src/chrome/test/data/xr/webvr_info
rm -rf src/third_party/angle/third_party/VK-GL-CTS/src
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/fix-sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ runs:
deps-file: src/DEPS
installation-dir: src/third_party/siso/cipd
target-platform: ${{ inputs.target-platform }}
package: infra/build/siso/${platform}
package: build/siso/${platform}
- name: Fixup angle git
if: ${{ inputs.target-platform != 'linux' }}
shell: bash
Expand Down
43 changes: 22 additions & 21 deletions .github/actions/free-space-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,30 @@ runs:
}

strip_universal_deep() {
opwd=$(pwd)
cd $1
f=$(find . -perm +111 -type f)
for fp in $f
do
if [[ $(file "$fp") == *"universal binary"* ]]; then
if [ "`arch`" == "arm64" ]; then
if [[ $(file "$fp") == *"x86_64"* ]]; then
sudo lipo -remove x86_64 "$fp" -o "$fp" || true
fi
else
if [[ $(file "$fp") == *"arm64e)"* ]]; then
sudo lipo -remove arm64e "$fp" -o "$fp" || true
fi
if [[ $(file "$fp") == *"arm64)"* ]]; then
sudo lipo -remove arm64 "$fp" -o "$fp" || true
if [ -d "$1" ]; then
opwd=$(pwd)
cd $1
f=$(find . -perm +111 -type f)
for fp in $f
do
if [[ $(file "$fp") == *"universal binary"* ]]; then
if [ "`arch`" == "arm64" ]; then
if [[ $(file "$fp") == *"x86_64"* ]]; then
sudo lipo -remove x86_64 "$fp" -o "$fp" || true
fi
else
if [[ $(file "$fp") == *"arm64e)"* ]]; then
sudo lipo -remove arm64e "$fp" -o "$fp" || true
fi
if [[ $(file "$fp") == *"arm64)"* ]]; then
sudo lipo -remove arm64 "$fp" -o "$fp" || true
fi
fi
fi
fi
done
done

cd $opwd
cd $opwd
fi
}

tmpify /Library/Developer/CoreSimulator
Expand All @@ -60,10 +62,9 @@ runs:

sudo rm -rf /Applications/Safari.app
sudo rm -rf /Applications/Xcode_16.1.app
sudo rm -rf /Applications/Xcode_16.3.app
sudo rm -rf /Applications/Xcode_16.2.app
sudo rm -rf /Applications/Xcode_16.3.app
sudo rm -rf /Applications/Google Chrome.app
sudo rm -rf /Applications/Xcode_16.4.app
sudo rm -rf /Applications/Google Chrome for Testing.app
sudo rm -rf /Applications/Firefox.app
sudo rm -rf ~/project/src/third_party/catapult/tracing/test_data
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install-build-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
git config --global core.preloadindex true
git config --global core.longpaths true
fi
export BUILD_TOOLS_SHA=8559e5d325d61f195a255f41077ffc9e5b70b0e5
export BUILD_TOOLS_SHA=a5d9f9052dcc36ee88bef5c8b13acbefd87b7d8d
npm i -g @electron/build-tools
# Update depot_tools to ensure python
e d update_depot_tools
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/archaeologist-dig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@ name: Archaeologist
on:
pull_request:

permissions: {}

jobs:
archaeologist-dig:
name: Archaeologist Dig
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout Electron
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.0.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
fetch-depth: 0
- name: Setup Node.js/npm
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903
with:
node-version: 20.19.x
node-version: 22.21.x
- name: Setting Up Dig Site
run: |
echo "remote: ${{ github.event.pull_request.head.repo.clone_url }}"
Expand All @@ -41,7 +45,7 @@ jobs:
sha-file: .dig-old
filename: electron.old.d.ts
- name: Upload artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4.6.2
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 #v5.0.0
with:
name: artifacts
path: electron/artifacts
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/audit-branch-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
contents: read
steps:
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: 22.17.x
- run: npm install @actions/cache@4.0.3 @electron/fiddle-core@2.0.1
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
id: audit-errors
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -73,6 +73,7 @@ jobs:
annotation_level === "failure" &&
!message.startsWith("Process completed with exit code") &&
!message.startsWith("Response status code does not indicate success") &&
!message.startsWith("The hosted runner lost communication with the server") &&
!/Unable to make request/.test(message) &&
!/The requested URL returned error/.test(message),
)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/branch-created.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
org: electron
- name: Generate Release Project Board Metadata
if: ${{ steps.check-major-version.outputs.MAJOR }}
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
id: generate-project-metadata
with:
script: |
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/build-git-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ on:
schedule:
- cron: "0 0 * * *"

permissions: {}

jobs:
build-git-cache-linux:
runs-on: electron-arc-centralus-linux-amd64-32core
permissions:
contents: read
container:
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
options: --user root
Expand All @@ -19,7 +23,7 @@ jobs:
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_arm64=True'
steps:
- name: Checkout Electron
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
path: src/electron
fetch-depth: 0
Expand All @@ -30,6 +34,8 @@ jobs:

build-git-cache-windows:
runs-on: electron-arc-centralus-linux-amd64-32core
permissions:
contents: read
container:
image: ghcr.io/electron/build:bc2f48b2415a670de18d13605b1cf0eb5fdbaae1
options: --user root --device /dev/fuse --cap-add SYS_ADMIN
Expand All @@ -41,7 +47,7 @@ jobs:
TARGET_OS: 'win'
steps:
- name: Checkout Electron
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
path: src/electron
fetch-depth: 0
Expand All @@ -52,6 +58,8 @@ jobs:

build-git-cache-macos:
runs-on: electron-arc-centralus-linux-amd64-32core
permissions:
contents: read
# This job updates the same git cache as linux, so it needs to run after the linux one.
needs: build-git-cache-linux
container:
Expand All @@ -64,7 +72,7 @@ jobs:
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac'
steps:
- name: Checkout Electron
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
path: src/electron
fetch-depth: 0
Expand Down
Loading