trop[bot]
497849bf66
chore: deprecate systemPreferences.isAeroGlassEnabled()
( #45554 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2025-02-18 16:29:41 -05:00
trop[bot]
277a80da98
fix: asan build on macOS ( #45569 )
...
* fix: asan build on macOS
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: fix build
Co-authored-by: deepak1556 <hop2deep@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-18 16:23:20 -05:00
trop[bot]
fc6a602929
fix: osr stutter fix backport for electron. ( #45660 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: reito <cnschwarzer@qq.com>
2025-02-18 20:59:04 +01:00
trop[bot]
bdab736f08
fix: win.closeFilePreview recreates panel when called twice ( #45664 )
...
* fix: close quick look during tests on macOS
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* use longer delay 🤷
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* fix: sharedPreviewPanel being recreated on close
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* test: ensure preview panel gets closed
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
2025-02-18 09:59:55 +01:00
trop[bot]
3c6e75e22d
build: run source cache clean daily ( #45656 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-18 09:56:45 +01:00
trop[bot]
9a7f27d845
feat: Restore webContents navigation history and page state ( #45583 )
...
* feat: Working navigationHistory.restore with just title/url
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* feat: Restore page state, too
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* chore: Docs, lint, tests
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Implement feedback
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* More magic
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Make _awaitNextLoad truly private
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* Implement API group feedback
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
* One more round of feedback
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Felix Rieseberg <fr@makenotion.com>
2025-02-17 11:23:18 +01:00
trop[bot]
b2b59a6c0b
fix: pointer lock permission after focus loss and regain ( #45628 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-17 11:22:57 +01:00
trop[bot]
b6884b5c50
fix: osr crash on window close ( #45630 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-17 11:21:36 +01:00
trop[bot]
fa0da6f19f
fix: support for v8.setHeapSnapshotNearHeapLimit api ( #45632 )
...
* fix: support for v8.setHeapSnapshotNearHeapLimit api
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* docs: add support
Co-authored-by: deepak1556 <hop2deep@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-02-17 13:23:38 +09:00
trop[bot]
cf85d2d7c1
build: make sure chromium cookie is set everywhere ( #45637 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-02-14 15:49:40 -05:00
electron-roller[bot]
bc163a5ea8
chore: bump node to v22.13.1 (35-x-y) ( #45216 )
...
* chore: bump node in DEPS to v22.13.0
* chore: bump node in DEPS to v22.13.1
* src: move evp stuff to ncrypto
https://github.com/nodejs/node/pull/54911
* crypto: add Date fields for validTo and validFrom
https://github.com/nodejs/node/pull/54159
* module: fix discrepancy between .ts and .js
https://github.com/nodejs/node/pull/54461
* esm: do not interpret "main" as a URL
https://github.com/nodejs/node/pull/55003
* src: modernize likely/unlikely hints
https://github.com/nodejs/node/pull/55155
* chore: update patch indices
* crypto: add validFromDate and validToDate fields to X509Certificate
https://github.com/nodejs/node/pull/54159
* chore: fixup perfetto patch
* fix: clang warning in simdjson
* src: add receiver to fast api callback methods
https://github.com/nodejs/node/pull/54408
* chore: fixup revert patch
* fixup! esm: do not interpret "main" as a URL
* fixup! crypto: add Date fields for validTo and validFrom
* fix: move ArrayBuffer test patch
* src: fixup Error.stackTraceLimit during snapshot building
https://github.com/nodejs/node/pull/55121
* fix: bad rebase
* chore: fixup amaro
* chore: address feedback from review
* src: revert filesystem::path changes
https://github.com/nodejs/node/pull/55015
* chore: fixup GN build file
* https://github.com/nodejs/node/pull/55529
* https://github.com/nodejs/node/pull/55798
* https://github.com/nodejs/node/pull/55530
* module: simplify --inspect-brk handling
https://github.com/nodejs/node/pull/55679
* src: fix outdated js2c.cc references
https://github.com/nodejs/node/pull/56133
* crypto: include openssl/rand.h explicitly
https://github.com/nodejs/node/pull/55425
* build: use variable for crypto dep path
https://github.com/nodejs/node/pull/55928
* crypto: fix RSA_PKCS1_PADDING error message
https://github.com/nodejs/node/pull/55629
* build: use variable for simdutf path
https://github.com/nodejs/node/pull/56196
* test,crypto: make crypto tests work with BoringSSL
https://github.com/nodejs/node/pull/55491
* fix: suppress clang -Wdeprecated-declarations in libuv
https://github.com/libuv/libuv/pull/4486
* deps: update libuv to 1.49.1
https://github.com/nodejs/node/pull/55114
* test: make test-node-output-v8-warning more flexible
https://github.com/nodejs/node/pull/55401
* [v22.x] Revert "v8: enable maglev on supported architectures"
https://github.com/nodejs/node/pull/54384
* fix: potential WIN32_LEAN_AND_MEAN redefinition
https://github.com/c-ares/c-ares/pull/869
* deps: update nghttp2 to 1.64.0
https://github.com/nodejs/node/pull/55559
* src: provide workaround for container-overflow
https://github.com/nodejs/node/pull/55591
* build: use variable for simdutf path
https://github.com/nodejs/node/pull/56196
* chore: fixup patch indices
* fixup! module: simplify --inspect-brk handling
* lib: fix fs.readdir recursive async
https://github.com/nodejs/node/pull/56041
* lib: avoid excluding symlinks in recursive fs.readdir with filetypes
https://github.com/nodejs/node/pull/55714/
This doesn't currently play well with ASAR - this should be fixed in a follow up
* test: disable CJS permission test for config.main
This has diverged as a result of our revert of
src,lb: reducing C++ calls of esm legacy main resolve
* fixup! lib: fix fs.readdir recursive async
* deps: update libuv to 1.49.1
https://github.com/nodejs/node/pull/55114
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-14 15:53:34 +01:00
Charles Kerr
b52917c380
refactor: use node::tracing::Agent() directly (35-x-y) ( #45619 )
...
* refactor: use node::tracing::Agent()
* chore: e patches all
---------
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-14 11:02:19 +01:00
trop[bot]
cd1186a116
chore: change node test timeout from 20m to 30m ( #45623 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-02-14 10:59:41 +01:00
trop[bot]
f1176be749
build: remove PDF edited saved files patch ( #45614 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-14 10:57:43 +01:00
trop[bot]
aacbdaf4ec
fix: avoid IPC for renderer webFrame.getZoom...
APIs ( #45557 )
...
* fix: avoid IPC for renderer `webFrame.getZoom...` APIs
Co-authored-by: clavin <clavin@electronjs.org>
* Remove `DoGetZoomLevel` IPC
Co-authored-by: clavin <clavin@electronjs.org>
* Fix synchronous behavior & nullptr deref
Co-authored-by: clavin <clavin@electronjs.org>
* Use local root
Co-authored-by: clavin <clavin@electronjs.org>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org>
2025-02-13 12:53:59 +01:00
trop[bot]
5b90ce2290
refactor: follow upstream's suggestions on when to use EmptyGURL() ( #45521 )
...
- Prefer GURL() when we want to return a non-reference empty URL.
- In ServiceWorkerMain::GetStorageKey(), use a reference instead
of instantiating a new temporary GURL.
From url/gurl.h:
> // Returns a reference to a singleton empty GURL. This object is for
> // callers who return references but don't have anything to return in
> // some cases. If you just want an empty URL for normal use, prefer
> // GURL().
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-02-13 11:30:40 +01:00
trop[bot]
8fb9fd97df
build: set chromium cookie on depot tools requests ( #45599 )
...
* build: set chromium cookie on depot tools requests
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* build: correct secrets syntax
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* build: handle windows cmd
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>
2025-02-13 09:47:04 +01:00
trop[bot]
107c0c6c6e
docs: fix grammar in preload tutorial summary ( #45558 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Josh Jancourtz <66430238+jcolpal@users.noreply.github.com>
2025-02-12 11:26:37 +01:00
trop[bot]
bca80f19e0
test: disable unexpectedly quit dialog on macOS ( #45588 )
...
* test: disable unexpectedly quit dialog on macOS
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* test: take screenshot before keyboard lock test
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* Revert "test: take screenshot before keyboard lock test"
This reverts commit 3ba5c6984f2946b93a74c24fe79ff346af3ea4a4.
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-02-12 09:52:50 +01:00
trop[bot]
66eb15d093
build: make gen-libc++-filenames.js produce the same results on Windows ( #45576 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Will Anderson <will@itsananderson.com>
2025-02-11 11:08:08 -05:00
trop[bot]
a1b846c9e5
build: try removing embedder exception patch ( #45464 )
...
* build: try removing embedder exception patch
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fixup .patches after trop
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-02-11 12:56:12 +01:00
trop[bot]
71d3a86d32
fix: fix mksnapshot gen/v8 path ( #45546 )
...
* fix: fix mksnapshot gen/v8 path
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* build: use 7z compression
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
* build: unzip mksnapshot on Windows and update zip
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
* chore: escape backslashes
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
* chore: try another attempt
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
* chore: remove rmdir for now
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2025-02-11 11:37:11 +01:00
trop[bot]
452d891be5
test: make sure test window is on top for focus tests ( #45552 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-02-11 10:02:12 +01:00
trop[bot]
fc697735c4
fix: window maximizing with Mica ( #45525 )
...
* fix: window maximizing with Mica
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Fix rounded corners after restore
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>
2025-02-10 15:38:47 -05:00
trop[bot]
acfe4766d2
chore: bump chromium 134.0.6990.0 ( #45524 )
...
* chore: update feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/6219304
Partially upstreamed by @codebytere
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* chore: e patches all
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-02-10 10:35:19 -05:00
trop[bot]
763d978765
docs: transactions-updated
event type ( #45542 )
...
fix: `transactions-updated` event type
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: clavin <clavin@electronjs.org>
2025-02-10 10:22:21 -05:00
trop[bot]
2bce515091
docs: fix powerMonitor event types ( #45543 )
...
* fix: powerMonitor event types
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* fix: thermal-state-change missing Returns
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
2025-02-10 10:21:56 -05:00
trop[bot]
e15ba780c4
build: make sure there is at least 35GB free for source cache ( #45514 )
2025-02-10 09:48:10 +01:00
trop[bot]
713d32fccc
chore: bump chromium 134.0.6989.0 ( #45519 )
...
* chore: bump chromium to 134.0.6989.0
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* chore: update patches/chromium/cherry-pick-dd8e2822e507.patch
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* chore: e patches all
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-02-07 14:56:53 -05:00
electron-roller[bot]
3b421ef77f
chore: bump chromium to 134.0.6998.3 (35-x-y) ( #45460 )
...
* chore: bump chromium in DEPS to 134.0.6998.1
* chore: bump chromium in DEPS to 134.0.6998.5
* chore: bump chromium in DEPS to 134.0.6998.3
* chore: bump chromium to 134.0.6988.0 (main) (#45334 )
* chore: bump chromium in DEPS to 134.0.6976.0
* chore: update mas_avoid_private_macos_api_usage.patch.patch
https://chromium-review.googlesource.com/c/chromium/src/+/6171046
process_info_mac.cc -> process_info_mac.mm
* chore: update build_do_not_depend_on_packed_resource_integrity.patch
https://chromium-review.googlesource.com/c/chromium/src/+/6196857
* chore: update feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch
https://chromium-review.googlesource.com/c/chromium/src/+/6182296
https://chromium-review.googlesource.com/c/chromium/src/+/6183404
https://chromium-review.googlesource.com/c/chromium/src/+/6187853
A lot changed in the upstream implementation. There's a good chance I got
this wrong as threading has changed and moved some variables into globals.
* chore: remove build_remove_vr_directx_helpers_dependency.patch
https://chromium-review.googlesource.com/c/chromium/src/+/6186102
This landed upstream
* chore: e patches all
* chore: update net::CookieInclusionStatus::ExclusionReason enum
https://chromium-review.googlesource.com/c/chromium/src/+/6183252
https://chromium-review.googlesource.com/c/chromium/src/+/6185544
* chore: update content::WebAuthenticationDelegate import
https://chromium-review.googlesource.com/c/chromium/src/+/6189769
* Revert "chore: disable focus handling test due to win32/ia32 regression"
This reverts commit 1a57ba5d59848d0c841ddda59c9299a4f957452a.
* chore: bump chromium in DEPS to 134.0.6978.0
* chore: bump chromium in DEPS to 134.0.6980.0
* chore: bump chromium in DEPS to 134.0.6982.0
* chore: bump chromium in DEPS to 134.0.6984.0
* 6196281: Allow direct embedder IsPdfInternalPluginAllowedOrigin() interaction
https://chromium-review.googlesource.com/c/chromium/src/+/6196281
* 6196283: Delete PdfInternalPluginDelegate
https://chromium-review.googlesource.com/c/chromium/src/+/6196283
* chore: update patches
* chore: bump chromium in DEPS to 134.0.6986.0
* chore: update patches
* 6205762: Support option to use window.showSaveFilePicker() in PDF attachment code
https://chromium-review.googlesource.com/c/chromium/src/+/6205762
See also:
* https://issues.chromium.org/issues/373852607
* 5939153: [PDF] Add PdfUseShowSaveFilePicker feature flag | https://chromium-review.googlesource.com/c/chromium/src/+/5939153
* 6205761: Delete spurious Ink-specific code in pdf_viewer.ts | https://chromium-review.googlesource.com/c/chromium/src/+/6205761
* 6209609: Remove WebVector: Automatic changes
https://chromium-review.googlesource.com/c/chromium/src/+/6209609
* 6205488: UI: make QT5 optional
https://chromium-review.googlesource.com/c/chromium/src/+/6205488
* 6178281: Rename pak files from branding strings
https://chromium-review.googlesource.com/c/chromium/src/+/6178281
* fixup! 6209609: Remove WebVector: Automatic changes https://chromium-review.googlesource.com/c/chromium/src/+/6209609
* 6193249: Switch from safe_browsing::EventResult to enterprise_connectors:EventResult
https://chromium-review.googlesource.com/c/chromium/src/+/6193249
* 6197457: Remove Pause/ResumeReadingBodyFromNet IPCs
https://chromium-review.googlesource.com/c/chromium/src/+/6197457
* 6191230: Record total time spent on a picture in picture window
https://chromium-review.googlesource.com/c/chromium/src/+/6191230
* chore: bump chromium in DEPS to 134.0.6988.0
* chore: update patches
* 6215440: Remove base/ranges/.
https://chromium-review.googlesource.com/c/chromium/src/+/6215440
* Disable unsafe buffers error
Not sure what changed, but we're now seeing unsafe buffer errors in Chromium code, at least when using reclient. Will update this comment if we find out the cause.
* 6187853: SelectFileDialogLinuxPortal: Use dbus_xdg::Request and DbusType
https://chromium-review.googlesource.com/c/chromium/src/+/6187853
* fix `setDisplayMediaRequestHandler` test
Given how this test is written, I would expect this assertion to be false. It seems the oppositue was true before, but that was also acknowledged to be suprising. Seems that the underlying implementation is now fixed and works as expected.
* fixup! 6187853: SelectFileDialogLinuxPortal: Use dbus_xdg::Request and DbusType https://chromium-review.googlesource.com/c/chromium/src/+/6187853
* chore: udpate patches
* Multiple PRS: https://chromium-review.googlesource.com/c/chromium/src/+/6185544 | https://chromium-review.googlesource.com/c/chromium/src/+/6183252
* fix: cast enum class to numeric type
* fix: add 1 to MAX_EXCLUSION_REASON because enum values are zero-based, and we want the total count of reasons.
* Reapply "chore: disable focus handling test due to win32/ia32 regression"
This reverts commit 760b1a519b5919b483c66bc3096eeefb4d7011f4.
* refactor: use ExclusionReasonBitset::kValueCount for size
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
Co-authored-by: clavin <clavin@electronjs.org>
Co-authored-by: alice <alice@makenotion.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
(cherry picked from commit 213165a467b84b3fb979a869d9bf10ad21e2d78e)
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
2025-02-07 11:14:12 -05:00
trop[bot]
9d9d1afb2e
refactor: only pass v8::Context
to gin_helper::MicrotasksScope
constructor ( #45503 )
...
refactor: forward v8::Context to v8::MicrotasksScope constructor
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Milan Burda <milan.burda@gmail.com>
2025-02-07 10:03:31 +01:00
trop[bot]
984b8f9b1b
fix: RenderFrameHost nullptr dereference ( #45508 )
...
* fix: add nullptr tests before using render_frame_
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* refactor: extract-method HasRenderFrame()
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-02-07 10:03:01 +01:00
Keeley Hammond
cb7eb6fe3d
fix: Update widget visibility in NativeWindowMac::ShowInactive
( #45502 )
...
When using `views::WebView` on macOS `NativeWidgetMacNSWindowHost`
contains a layer and compositor responsible for drawing web contents.
To trigger drawing `NativeWidgetMacNSWindowHost::OnVisibilityChanged`
needs to be called and `[NSWindow orderFrontRegardless]` does not trigger
`[NSWindow orderWindow:relativeTo:]` which can change
`NativeWidgetMacNSWindowHost` visiblity with stack:
```
views::NativeWidgetMacNSWindowHost::OnVisibilityChanged(bool)
remote_cocoa::NativeWidgetNSWindowBridge::OnVisibilityChanged()
-[ViewsNSWindowDelegate onWindowOrderChanged:]
-[NativeWidgetMacNSWindow orderWindow:relativeTo:]
```
`views::Widget` has method for showing inactive window:
`views::Widget::ShowInactive` which triggers
`NativeWidgetMacNSWindowHost::OnVisibilityChanged` with stack:
```
views::NativeWidgetMacNSWindowHost::OnVisibilityChanged(bool)
remote_cocoa::NativeWidgetNSWindowBridge::SetVisibilityState(remote_cocoa::mojom::WindowVisibilityState)
views::NativeWidgetMacNSWindowHost::SetVisibilityState(remote_cocoa::mojom::WindowVisibilityState)
views::NativeWidgetMac::Show(ui::mojom::WindowShowState, gfx::Rect const&)
views::Widget::ShowInactive() + 168
```
However this call seems to be insufficient to bring window to front,
therefore `[NSWindow orderFrontRegardless]` still needs to be called.
Calling `views::Widget::ShowInactive` ensures that all logic related to
showing Chromium widget will be properly executed, but onfortunately it
does not call `[NSWindow orderWindow:relativeTo:]` which is used to
disabling headless mode by the `ElectronNSWindow`, therefore we need to
trigger it manually through exposed `[ElectronNSWindow disableHeadlessMode]`.
Fixes : #45415
Co-authored-by: Michał Pichliński <michal.pichlinski@here.io>
2025-02-06 18:40:59 -08:00
Samuel Attard
f1d8e03ef8
chore: cherry-pick dd8e2822e507 from chromium ( #45496 )
2025-02-06 14:55:54 -08:00
trop[bot]
637313c2f3
test: dump Electron process PID to path if environment variable set ( #45494 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2025-02-06 13:14:38 -06:00
trop[bot]
20941efeb5
fix: handle exclude aliasing in InclusionStatusToString() ( #45475 )
2025-02-06 13:51:59 +01:00
trop[bot]
7373bde546
fix: WCO not working with some window configurations ( #45477 )
2025-02-06 13:51:39 +01:00
trop[bot]
acfc32f534
build: always use python3 in script/lib/get-version.js
( #45444 )
...
build: always use python3 in script/lib/get-version.js
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2025-02-05 21:02:29 -05:00
trop[bot]
eaa28375d9
docs: style fixes ( #45482 )
...
* docs: fix code field
Co-authored-by: max54nj <contact@max54nj.de>
* docs: add missing space
Co-authored-by: max54nj <contact@max54nj.de>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: max54nj <contact@max54nj.de>
2025-02-05 21:02:05 -05:00
trop[bot]
f40fc49461
feat: view.getVisible() ( #45409 )
...
* feat: view.getVisible()
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* test: visible apis
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* docs: clarify getVisible
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
2025-02-05 15:50:00 -05:00
Sam Maddock
a07de0099c
feat: service worker preload scripts for improved extensions support … ( #45408 )
...
feat: service worker preload scripts for improved extensions support (#44411 )
* feat: preload scripts for service workers
* feat: service worker IPC
* test: service worker preload scripts and ipc
2025-02-05 14:18:24 -05:00
trop[bot]
46c9ed61da
feat: route deprecated sync clipboard read through permission checks ( #45471 )
...
* feat: route deprecated clipboard commands through permission checks
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* docs: address review feedback
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* fix: enable checks for child windows
Co-authored-by: deepak1556 <hop2deep@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-02-05 14:10:43 -05:00
Keeley Hammond
51170c3652
build: migrate Windows release builds to GHA ( #45465 )
...
* build: migrate Windows release builds to GHA (#45137 )
* build: migrate release builds to GHA
* build: alter CI jobs release script
* build: use windows builders for win-publish (#45340 )
* build: remove generate-sas-token (#45347 )
* build: add win toolchain for release builds (#45380 )
* build: add win toolchain for release builds
* build: fix installed_software.json script
* chore: run pwsh script within src
* build: fixup uploader arch
2025-02-04 13:51:49 -08:00
trop[bot]
5be655585d
docs: document deletion of databases
directory ( #45450 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-02-04 08:27:46 -06:00
trop[bot]
04e37266c4
docs: mention C++20 requirement in breaking changes document ( #45445 )
...
* docs: mention C++20 requirement in breaking changes document
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
* chore: fix linter issue
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <dev@nikwen.de>
2025-02-03 16:29:28 -05:00
Shelley Vohr
b0b7c8f540
build: remove outdated Node.js serdes patch ( #45430 )
2025-02-03 15:17:56 -05:00
electron-roller[bot]
49078100f4
chore: bump chromium to 133.0.6943.35 (35-x-y) ( #45217 )
...
* chore: bump chromium in DEPS to 133.0.6943.16
* chore: bump chromium in DEPS to 133.0.6943.27
* chore: bump chromium in DEPS to 133.0.6943.35
* chore: bump chromium to 134.0.6968.0
cherry picked from 75eac86506da4fd87aa7ec36478d5c196b988d4f
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-02-03 15:10:57 -05:00
trop[bot]
599030ea08
fix: default path not working on KDE Linux ( #45420 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-03 20:09:05 +01:00
trop[bot]
07bdef0370
fix: incorrect WCO tooltip in RTL ( #45425 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-02-03 14:05:00 -05:00
Sam Maddock
cc6164fe27
feat: ServiceWorkerMain ( #45341 )
2025-01-31 12:40:19 -05:00