Skip to content

Commit bd23405

Browse files
electron-roller[bot]alicelovescakeVerteDindesamuelmaddockjkleinsc
authored andcommitted
chore: bump chromium to 143.0.7451.0 (main) (electron#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 nodejs/node#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 2fc12d6. 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 nodejs/node#55453 * fixup! fix: replace v8::Object::SetPrototype() usage https://chromium-review.googlesource.com/c/v8/v8/+/6983465 nodejs/node#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>
1 parent 4a26190 commit bd23405

File tree

148 files changed

+1032
-1041
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+1032
-1041
lines changed

.github/actions/free-space-macos/action.yml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,30 @@ runs:
1717
}
1818
1919
strip_universal_deep() {
20-
opwd=$(pwd)
21-
cd $1
22-
f=$(find . -perm +111 -type f)
23-
for fp in $f
24-
do
25-
if [[ $(file "$fp") == *"universal binary"* ]]; then
26-
if [ "`arch`" == "arm64" ]; then
27-
if [[ $(file "$fp") == *"x86_64"* ]]; then
28-
sudo lipo -remove x86_64 "$fp" -o "$fp" || true
29-
fi
30-
else
31-
if [[ $(file "$fp") == *"arm64e)"* ]]; then
32-
sudo lipo -remove arm64e "$fp" -o "$fp" || true
33-
fi
34-
if [[ $(file "$fp") == *"arm64)"* ]]; then
35-
sudo lipo -remove arm64 "$fp" -o "$fp" || true
20+
if [ -d "$1" ]; then
21+
opwd=$(pwd)
22+
cd $1
23+
f=$(find . -perm +111 -type f)
24+
for fp in $f
25+
do
26+
if [[ $(file "$fp") == *"universal binary"* ]]; then
27+
if [ "`arch`" == "arm64" ]; then
28+
if [[ $(file "$fp") == *"x86_64"* ]]; then
29+
sudo lipo -remove x86_64 "$fp" -o "$fp" || true
30+
fi
31+
else
32+
if [[ $(file "$fp") == *"arm64e)"* ]]; then
33+
sudo lipo -remove arm64e "$fp" -o "$fp" || true
34+
fi
35+
if [[ $(file "$fp") == *"arm64)"* ]]; then
36+
sudo lipo -remove arm64 "$fp" -o "$fp" || true
37+
fi
3638
fi
3739
fi
38-
fi
39-
done
40+
done
4041
41-
cd $opwd
42+
cd $opwd
43+
fi
4244
}
4345
4446
tmpify /Library/Developer/CoreSimulator
@@ -60,10 +62,9 @@ runs:
6062
6163
sudo rm -rf /Applications/Safari.app
6264
sudo rm -rf /Applications/Xcode_16.1.app
63-
sudo rm -rf /Applications/Xcode_16.3.app
6465
sudo rm -rf /Applications/Xcode_16.2.app
66+
sudo rm -rf /Applications/Xcode_16.3.app
6567
sudo rm -rf /Applications/Google Chrome.app
66-
sudo rm -rf /Applications/Xcode_16.4.app
6768
sudo rm -rf /Applications/Google Chrome for Testing.app
6869
sudo rm -rf /Applications/Firefox.app
6970
sudo rm -rf ~/project/src/third_party/catapult/tracing/test_data

.github/actions/install-build-tools/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
git config --global core.preloadindex true
1616
git config --global core.longpaths true
1717
fi
18-
export BUILD_TOOLS_SHA=706147b2376f55078f718576b28129a0457f1795
18+
export BUILD_TOOLS_SHA=a5d9f9052dcc36ee88bef5c8b13acbefd87b7d8d
1919
npm i -g @electron/build-tools
2020
# Update depot_tools to ensure python
2121
e d update_depot_tools

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189
with:
190190
target-platform: macos
191191
target-archs: x64 arm64
192-
check-runs-on: macos-14
192+
check-runs-on: macos-15
193193
gn-build-type: testing
194194
secrets: inherit
195195

@@ -225,7 +225,7 @@ jobs:
225225
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
226226
needs: checkout-macos
227227
with:
228-
build-runs-on: macos-14-xlarge
228+
build-runs-on: macos-15-xlarge
229229
test-runs-on: macos-15-large
230230
target-platform: macos
231231
target-arch: x64
@@ -244,7 +244,7 @@ jobs:
244244
uses: ./.github/workflows/pipeline-electron-build-and-test.yml
245245
needs: checkout-macos
246246
with:
247-
build-runs-on: macos-14-xlarge
247+
build-runs-on: macos-15-xlarge
248248
test-runs-on: macos-15
249249
target-platform: macos
250250
target-arch: arm64

BUILD.gn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,11 @@ source_set("electron_lib") {
586586
}
587587

588588
if (is_mac) {
589+
# Disable C++ modules to resolve linking error when including MacOS SDK
590+
# headers from third_party/electron_node/deps/uv/include/uv/darwin.h
591+
# TODO(samuelmaddock): consider revisiting this in the future
592+
use_libcxx_modules = false
593+
589594
deps += [
590595
"//components/remote_cocoa/app_shim",
591596
"//components/remote_cocoa/browser",

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ gclient_gn_args_from = 'src'
22

33
vars = {
44
'chromium_version':
5-
'142.0.7417.0',
5+
'143.0.7451.0',
66
'node_version':
77
'v22.20.0',
88
'nan_version':

docs/api/app.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ Returns:
421421
* `oom` - Process ran out of memory
422422
* `launch-failed` - Process never successfully launched
423423
* `integrity-failure` - Windows code integrity checks failed
424+
* `memory-eviction` - Process proactively terminated to prevent a future out-of-memory (OOM) situation
424425
* `exitCode` number - The exit code for the process
425426
(e.g. status from waitpid if on POSIX, from GetExitCodeProcess on Windows).
426427
* `serviceName` string (optional) - The non-localized name of the process.

docs/api/structures/render-process-gone-details.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* `oom` - Process ran out of memory
99
* `launch-failed` - Process never successfully launched
1010
* `integrity-failure` - Windows code integrity checks failed
11+
* `memory-eviction` - Process proactively terminated to prevent a future out-of-memory (OOM) situation
1112
* `exitCode` Integer - The exit code of the process, unless `reason` is
1213
`launch-failed`, in which case `exitCode` will be a platform-specific
1314
launch failure error code.

filenames.libcxx.gni

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ libcxx_headers = [
217217
"//third_party/libc++/src/include/__atomic/check_memory_order.h",
218218
"//third_party/libc++/src/include/__atomic/contention_t.h",
219219
"//third_party/libc++/src/include/__atomic/fence.h",
220+
"//third_party/libc++/src/include/__atomic/floating_point_helper.h",
220221
"//third_party/libc++/src/include/__atomic/is_always_lock_free.h",
221222
"//third_party/libc++/src/include/__atomic/kill_dependency.h",
222223
"//third_party/libc++/src/include/__atomic/memory_order.h",

patches/angle/.patches

Lines changed: 0 additions & 1 deletion
This file was deleted.

patches/angle/cherry-pick-2f564f1ca07b.patch

Lines changed: 0 additions & 125 deletions
This file was deleted.

0 commit comments

Comments
 (0)