Commit Graph

29023 Commits

Author SHA1 Message Date
John Kleinschmidt
74c8aa8368 chore: cache yarn dir 2024-12-03 15:53:51 -05:00
John Kleinschmidt
eb7ba17eeb chore: use win32 to match process.platform
Needed for build-tools to download from PRs
2024-12-03 15:10:20 -05:00
John Kleinschmidt
31c88f3a68 Revert "chore: sort files alphabetically"
This reverts commit d9e217ffb1.
2024-12-03 15:02:30 -05:00
John Kleinschmidt
805f5a4629 test: cleanup BrowserWindows and webContents 2024-12-03 10:54:49 -05:00
John Kleinschmidt
c24c8ae865 try using app.exit instead of process.exit 2024-12-03 10:54:16 -05:00
John Kleinschmidt
2bd56ad358 chore: Checkout PR HEAD commit
instead of merge commit
2024-12-03 10:38:39 -05:00
John Kleinschmidt
fd49ac2f3f find out what spec is leaving stuff open 2024-12-02 16:43:06 -05:00
John Kleinschmidt
444a1e6e52 Merge branch 'main' into windows-runner 2024-12-02 16:17:02 -05:00
Charles Kerr
6d4c271268 chore: remove unused registry arg from GetPrivilegeRequiredByUrl() (#44908)
this has never been used; introduced by 91071570
2024-12-02 14:02:47 -05:00
Niklas Wenzel
c6b4bde7b5 docs: clarify what session.clearData() with data type 'cache' deletes (#44852)
* docs: clarify what session.clearData() with data type 'cache' deletes

* docs: include `shadercache`, too

Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>

---------

Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
2024-12-02 13:50:35 -05:00
Niklas Wenzel
bba9ee1cb8 docs: clarify session.clearData() can delete more types than listed (#44851)
docs: warn that session.clearData() might delete more than expected
2024-12-02 13:29:25 -05:00
Charles Kerr
a7fa6e89b5 chore: remove unused arg from BaseWindow::GetBackgroundColor() (#44906)
chore: remove unused gin_helper::Arguments* arg from BaseWindow::GetBackgroundColor()

looks like this was added in db79734b but never used
2024-12-02 11:39:10 -05:00
Charles Kerr
06612cf5d4 chore: remove unused isolate argument from Cookies constructor (#44907)
* chore: remove unused isolate argument from Cookies constructor

unused since the ginify cookies refactor in Mar 2020, commit 22202255

* fix: constructor only takes one arg now, so mark it explicit
2024-12-02 11:34:21 -05:00
electron-appveyor-updater[bot]
49b294628c build: update appveyor image to latest version (#44840)
Co-authored-by: electron-appveyor-updater[bot] <161660339+electron-appveyor-updater[bot]@users.noreply.github.com>
2024-12-02 11:14:41 -05:00
Charles Kerr
493e3c4537 fix: don't use deprecated ui::MouseEvent constructor (#44868)
* refactor: do not use deprecated gfx::Point constructor for MouseEvent

Deprecated in https://chromium-review.googlesource.com/c/1444251

* refactor: use WebInputEvent::GetTypeAsUiEventType() instead of rolling our own

Added in https://chromium-review.googlesource.com/c/chromium/src/+/2180291
2024-12-02 11:13:38 -05:00
John Kleinschmidt
d9e217ffb1 chore: sort files alphabetically 2024-12-02 11:01:45 -05:00
John Kleinschmidt
9814fab669 Revert "match what Appveyor runs exactly"
This reverts commit 7260dd4322.
2024-12-02 09:49:00 -05:00
Charles Kerr
b2ce5296af fix: remove unused id argument from TranslateToStock() (#44900)
unused since fb537d91fc
v35.0.0-nightly.20241202
2024-12-01 16:34:48 -06:00
illusory-dream
4e40b49d1a docs: fix a syntax issue in document breaking changes (#44841)
fix: syntax issue in docs
2024-11-30 21:44:33 -08:00
Niklas Wenzel
d8149aa376 docs: specify default value for respondToAuthRequestsFromMainProcess (#44855)
docs: specify default value for respondToAuthRequestsFromMainProcess
2024-11-30 21:33:33 -08:00
Charles Kerr
033a0abb59 refactor: reduce scope of relauncher's internal constants (#44860)
* refactor: make kRelauncherArgSeparator private to relauncher.cc

* refactor: make kRelauncherTypeArg private to relauncher.cc

* refactor: remove unused type relauncher::CharType

* refactor: move private constants into standalone private namespace

* refactor: move kWaitEventName into the only function that uses it
2024-11-30 06:54:40 -06:00
Shelley Vohr
8f00cc9c0e build: remove context-aware patch (#44862) 2024-11-29 11:45:33 -06:00
Charles Kerr
f7e823ac80 refactor: return-braced-init-list pt 2 of 2 (#44870)
* refactor: more return-braced-init-list, this time for v8 and gin objects

* refactor: more return-braced-init-list, this time for v8, gin, std, and base objects
2024-11-29 11:44:33 -06:00
John Kleinschmidt
7260dd4322 match what Appveyor runs exactly 2024-11-28 10:56:55 -05:00
John Kleinschmidt
91e269c4cd Revert "3 is a magic number"
This reverts commit 36b91ccf9f.
2024-11-28 10:53:22 -05:00
John Kleinschmidt
36b91ccf9f 3 is a magic number 2024-11-27 13:39:39 -05:00
Charles Kerr
4a695d07c6 fix: misc-use-internal-linkage warnings (#44843)
* refactor: misc-use-internal-linkage warnings in context bridge

move impl functions into anonymous namespace so that they're not visible
to other compilation units:

- ExposeAPIInWorld()
- IsCalledFromMainWorld()
- OverrideGlobalPropertyFromIsolatedWorld()
- OverrideGlobalValueFromIsolatedWorld()
- TraceKeyPath()

* refactor: misc-use-internal-linkage warnings in skia util

move impl details into anonymous namespace so that they're not visible
to other compilation units:

- struct ScaleFactorPair
- kScaleFactorPairs[]
- GetScaleFactorFromPath()
- AddImageSkiaRepFromPath()

* refactor: misc-use-internal-linkage warnings in printing util

move impl details into anonymous namespace so that they're not visible
to other compilation units:

- GetFullPagePlugin()

* refactor: misc-use-internal-linkage warnings in blijnk converter

move impl details into anonymous namespace so that they're not visible
to other compilation units:

- GetKeyLocationCode()
- ModifiersToArray()

* refactor: misc-use-internal-linkage warnings in extrension system

move impl details into anonymous namespace so that they're not visible
to other compilation units:

- ParseManifest()

* refactor: misc-use-internal-linkage warnings in skia util

move impl details into anonymous namespace so that they're not visible
to other compilation units:

- GetFrameTokenMap()
- GetFrameTreeNodeIdMap()

* refactor: misc-use-internal-linkage warnings in electron_api_utility_process.cc

move impl details into anonymous namespace so that they're not visible
to other compilation units:

- GetAllUtilityProcessWrappers()

* refactor: misc-use-internal-linkage warnings in electron_api_menu

move impl details into anonymous namespace so that they're not visible
to other compilation units:

- InvokeBoolMethod()

* refactor: misc-use-internal-linkage warnings in platform util

move impl details into anonymous namespace so that they're not visible
to other compilation units:

- struct TrashItemResult
- TrashItemOnBlockingThread()
v35.0.0-nightly.20241128
2024-11-27 10:40:39 -06:00
John Kleinschmidt
7b9250554b remove debugging 2024-11-27 10:28:02 -05:00
Charles Kerr
4aa1855e39 refactor: use base::Extend in AddAdditionalSchemes() (#44839) 2024-11-27 07:55:54 -06:00
John Kleinschmidt
988c0cbf96 don't run visibility tests first 2024-11-26 21:30:44 -05:00
John Kleinschmidt
d9755697c9 run against all the tests in the failing shard 2024-11-26 21:23:24 -05:00
John Kleinschmidt
c6e862a3fa Revert "remove debugging"
This reverts commit f18dd8b1a5.
2024-11-26 21:21:12 -05:00
John Kleinschmidt
654b7d4c36 Revert "disable problematic test on WOA"
This reverts commit e060fb0839.
2024-11-26 21:21:01 -05:00
John Kleinschmidt
8f289af63f remove debugging from choco installs 2024-11-26 21:20:52 -05:00
Charles Kerr
f595443a22 refactor: fix modernize-return-braced-init-list warnings (#44838)
* refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]

* refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]

NB: using the braced-initializer list uncovered an error here:
the float returned by std::floor() can't be implicitly cast to
an int. This is solved by using base::ClampFloor<int>() instead.
std::floor()
v35.0.0-nightly.20241127
2024-11-27 09:41:46 +09:00
John Kleinschmidt
f18dd8b1a5 remove debugging 2024-11-26 14:52:53 -05:00
John Kleinschmidt
e060fb0839 disable problematic test on WOA 2024-11-26 14:52:24 -05:00
John Kleinschmidt
c68993bba2 try to speed up git install on WOA 2024-11-26 14:41:13 -05:00
John Kleinschmidt
0ed0b1716a Narrow down problem webcontents test 2024-11-26 10:03:23 -05:00
dependabot[bot]
9f1e23c405 build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (#44837)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.4 to 3.27.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ea9e4e3799...f09c1c0a94)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
v35.0.0-nightly.20241126
2024-11-26 11:26:35 +01:00
John Kleinschmidt
1c83b3e8cf it is all about the webcontents
but which one?
2024-11-26 00:16:45 -05:00
John Kleinschmidt
83345ed3cf Is it all about the web contents? 2024-11-25 21:17:25 -05:00
John Kleinschmidt
9de4b03216 Revert "see if this helps"
This reverts commit 9a15a69cf7.
2024-11-25 21:16:33 -05:00
John Kleinschmidt
9a15a69cf7 see if this helps 2024-11-25 16:02:20 -05:00
John Kleinschmidt
864432cd4e Revert "Reapply "try to track down which tests trigger hang""
This reverts commit cdee7de049.
2024-11-25 13:10:51 -05:00
John Kleinschmidt
aacf11b900 actually destroy webcontents 2024-11-25 13:09:26 -05:00
Charles Kerr
93f49d1189 fix: modernize-use-using clang-tidy warnings (#44806) 2024-11-25 10:50:33 -05:00
Charles Kerr
3c941c7e8f fix: modernize-avoid-c-arrays (#44813)
use string_view for constants used in methods that take string_view args
2024-11-25 10:49:58 -05:00
Charles Kerr
024fee4e44 fix: modernize-use-nodiscard clang-tidy warnings (#44808) 2024-11-25 10:48:28 -05:00
electron-roller[bot]
7e7010dacf chore: bump chromium to 133.0.6852.0 (main) (#44748)
* chore: bump chromium in DEPS to 133.0.6847.0

* chore: bump chromium in DEPS to 133.0.6848.0

* chore: update patches

* implement extensions::GlobalShortcutListener::ExecuteCommand stub

https://chromium-review.googlesource.com/c/chromium/src/+/5871484

* fix: ismediakey patch, oops

* fix: another missing bracket

* chore: bump chromium in DEPS to 133.0.6850.0

* chore: update patches

* SharedStorageOperationPtr -> SharedStorageModifierMethodPtr

https://chromium-review.googlesource.com/c/chromium/src/+/5990970

* build GlobalShortcutListenerLinux

https://chromium-review.googlesource.com/c/chromium/src/+/5871484

* chore: bump chromium in DEPS to 133.0.6851.0

* fix: include full type for network::mojom::SharedStorageModifierMethod

* chore: update patches

* chore: bump chromium in DEPS to 133.0.6852.0

* chore: update patches

* build: remove duplicated icudtl.dat and snapshot_blob.bin

https://chromium-review.googlesource.com/c/chromium/src/+/5999387

* fix: include static methods in node tests involving call stacks

https://chromium-review.googlesource.com/c/v8/v8/+/5907815

* revert: moved code in picture-in-picture.patch

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
2024-11-25 10:45:47 -05:00