Skip to content

Commit b34dbfd

Browse files
electron-roller[bot]patchup[bot]codebytere
authored andcommitted
chore: bump chromium to 119.0.6019.2 (main) (electron#39925)
* chore: bump chromium in DEPS to 119.0.6018.4 * chore: update patches * chore: bump chromium in DEPS to 119.0.6019.2 * chore: update patches * 4876292: Roll libc++ from 7cee6b00d34a to 3e8a3b3c5d49 (6 revisions) https://chromium-review.googlesource.com/c/chromium/src/+/4876292 * 4851616: [Extensions] Enable matchOriginAsFallback for dynamic content scripts https://chromium-review.googlesource.com/c/chromium/src/+/4851616 * 4869393: [Extensions UserScripts] Add error messages for script matching errors https://chromium-review.googlesource.com/c/chromium/src/+/4869393 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <[email protected]>
1 parent ebc4370 commit b34dbfd

29 files changed

+120
-98
lines changed

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-
'119.0.6017.0',
5+
'119.0.6019.2',
66
'node_version':
77
'v18.17.1',
88
'nan_version':

filenames.libcxx.gni

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ libcxx_headers = [
111111
"//third_party/libc++/src/include/__algorithm/ranges_copy_n.h",
112112
"//third_party/libc++/src/include/__algorithm/ranges_count.h",
113113
"//third_party/libc++/src/include/__algorithm/ranges_count_if.h",
114+
"//third_party/libc++/src/include/__algorithm/ranges_ends_with.h",
114115
"//third_party/libc++/src/include/__algorithm/ranges_equal.h",
115116
"//third_party/libc++/src/include/__algorithm/ranges_equal_range.h",
116117
"//third_party/libc++/src/include/__algorithm/ranges_fill.h",

patches/chromium/add_didinstallconditionalfeatures.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ index cb4cd28c051c3ac4f97981e44636a6ea7d311c39..8eb2fd06f694c2c390427a0e981960f9
6767
virtual void WillReleaseScriptContext(v8::Local<v8::Context>,
6868
int32_t world_id) {}
6969
diff --git a/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc b/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
70-
index 9f5c5385556daf35410365a235bf651f470afb67..615da4a3fc9b516ba4b833800096ed69e8aa7faa 100644
70+
index 5030619779b7bcd67923026991bb44d926d81e1a..1eea33740fcdca49e094ad7ad00cfda8938f96c1 100644
7171
--- a/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
7272
+++ b/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
73-
@@ -201,6 +201,7 @@ void LocalWindowProxy::Initialize() {
73+
@@ -202,6 +202,7 @@ void LocalWindowProxy::Initialize() {
7474
}
7575

7676
InstallConditionalFeatures();

patches/chromium/allow_disabling_blink_scheduler_throttling_per_renderview.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ index d44652650891eff7cd6111bc6d6454a009942cb6..16522609163ba6bc422fc30a8d145a25
3434
void SendRendererPreferencesToRenderer(
3535
const blink::RendererPreferences& preferences);
3636
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
37-
index 9b7814890a4f513e8b9e07fbac370a40af6dac15..ee2b3bc3aabf7f5a8e3d2ad57675537f21aafaa6 100644
37+
index b7d50b6286ac90ab06089f75f0b9d0b7b02bbf6c..0d917c241b2acb9510ff65dbeabc6aae9a01eec6 100644
3838
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
3939
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
40-
@@ -562,8 +562,8 @@ void RenderWidgetHostViewAura::ShowImpl(PageVisibilityState page_visibility) {
40+
@@ -563,8 +563,8 @@ void RenderWidgetHostViewAura::ShowImpl(PageVisibilityState page_visibility) {
4141
// OnShowWithPageVisibility will not call NotifyHostAndDelegateOnWasShown,
4242
// which updates `visibility_`, unless the host is hidden. Make sure no update
4343
// is needed.

patches/chromium/build_do_not_depend_on_packed_resource_integrity.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ index 200379c8f6c933f3877fc4c6b983ca64214b8d9e..d76d319cbd13f94d204fb60f0d8f5645
3333
"//base",
3434
"//build:branding_buildflags",
3535
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
36-
index 49759641e01b49feb8bbc665ebf37e8556db59f4..c7fd679b5ddbe871e139dc3c1dba87bb7d9d6ad1 100644
36+
index f4f8b927dfe337ba717486debbd8c9e98632585e..83f3919ba4d2d6a1ba39e3521ca3a695ab66c367 100644
3737
--- a/chrome/browser/BUILD.gn
3838
+++ b/chrome/browser/BUILD.gn
39-
@@ -4764,7 +4764,7 @@ static_library("browser") {
39+
@@ -4767,7 +4767,7 @@ static_library("browser") {
4040

4141
# On Windows, the hashes are embedded in //chrome:chrome_initial rather
4242
# than here in :chrome_dll.
@@ -46,18 +46,18 @@ index 49759641e01b49feb8bbc665ebf37e8556db59f4..c7fd679b5ddbe871e139dc3c1dba87bb
4646
sources += [ "certificate_viewer_stub.cc" ]
4747
}
4848
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
49-
index 8369debea5dc924370763316343226c226f80e5f..9c9242aa7dcab843582a4b8c575c380945e5756c 100644
49+
index 7600b1046439e1cc7046d41547f22d7f81b42f87..e3f065f977c561e35f6e369ae2a8e0fb08d723a1 100644
5050
--- a/chrome/test/BUILD.gn
5151
+++ b/chrome/test/BUILD.gn
52-
@@ -6848,7 +6848,6 @@ test("unit_tests") {
52+
@@ -6854,7 +6854,6 @@ test("unit_tests") {
5353

5454
deps += [
5555
"//chrome:other_version",
5656
- "//chrome:packed_resources_integrity",
5757
"//chrome//services/util_win:unit_tests",
5858
"//chrome/app:chrome_dll_resources",
5959
"//chrome/app:win_unit_tests",
60-
@@ -6869,6 +6868,10 @@ test("unit_tests") {
60+
@@ -6875,6 +6874,10 @@ test("unit_tests") {
6161
"//ui/resources",
6262
]
6363

@@ -68,15 +68,15 @@ index 8369debea5dc924370763316343226c226f80e5f..9c9242aa7dcab843582a4b8c575c3809
6868
ldflags = [
6969
"/DELAYLOAD:api-ms-win-core-winrt-error-l1-1-0.dll",
7070
"/DELAYLOAD:api-ms-win-core-winrt-l1-1-0.dll",
71-
@@ -7845,7 +7848,6 @@ test("unit_tests") {
71+
@@ -7852,7 +7855,6 @@ test("unit_tests") {
7272
}
7373

7474
deps += [
7575
- "//chrome:packed_resources_integrity_hash",
7676
"//chrome/browser/apps:icon_standardizer",
7777
"//chrome/browser/apps/app_service",
7878
"//chrome/browser/apps/app_service:app_registry_cache_waiter",
79-
@@ -7931,6 +7933,10 @@ test("unit_tests") {
79+
@@ -7938,6 +7940,10 @@ test("unit_tests") {
8080
"//ui/webui/resources/js/browser_command:mojo_bindings",
8181
]
8282

patches/chromium/build_only_use_the_mas_build_config_in_the_required_components.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Subject: build: only use the mas build config in the required components
66
Before landing this patch should be split into the relevant MAS patches, or at least the patch this one partially reverts
77

88
diff --git a/base/BUILD.gn b/base/BUILD.gn
9-
index 23f268698ee81bd883e9249aa252082a3f40cae9..8e7730a655e5307141333deb676970a6a5d7b86e 100644
9+
index cf62fd258b9074679e9adc19777e871fff00433a..76f1af0a22ea7a018d281523347c018f68f37eb9 100644
1010
--- a/base/BUILD.gn
1111
+++ b/base/BUILD.gn
12-
@@ -1032,6 +1032,7 @@ component("base") {
12+
@@ -1031,6 +1031,7 @@ component("base") {
1313
"//build/config/compiler:prevent_unsafe_narrowing",
1414
"//build/config/compiler:wexit_time_destructors",
1515
"//build/config/compiler:wglobal_constructors",
@@ -74,7 +74,7 @@ index 5d0bae2eb27d6ed90ac83932630954e4376e62b5..1b6c54a5a859ff95db87c133c423182d
7474

7575
if (is_win) {
7676
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
77-
index acce654402833f6a3654935c0ab2e16f61594a01..74b7c0e9c5f6b973d812cde0ecc9e0dc187f69b8 100644
77+
index 0647eaaf0a1991ef7861d105b74222b70401a856..2de832c1c5d4b4492d7b8aabaf403151ba29cb5b 100644
7878
--- a/content/browser/BUILD.gn
7979
+++ b/content/browser/BUILD.gn
8080
@@ -59,6 +59,7 @@ source_set("browser") {
@@ -110,7 +110,7 @@ index 5ab406dbebe5c159c6e209f8844bf6fabd47199f..224c45b7bff3c4073c70bbd8bdc1fd1c
110110

111111
public_deps = [
112112
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
113-
index f77e497c102deb7abd8719b7637e085855d8314c..61f75d917dabcc843c1a9d25d59f22f9c75a4013 100644
113+
index 77b0b977f21a9ceb7efc4c46bfc24e410352a88e..48380262ae5a993f5355a2f7d2a44b06b90b48e4 100644
114114
--- a/content/test/BUILD.gn
115115
+++ b/content/test/BUILD.gn
116116
@@ -484,6 +484,7 @@ static_library("test_support") {
@@ -249,10 +249,10 @@ index 4e23c38763184840a393589b3f55dcabb0db8121..e4ad30d0d7acecdca3a22fe05935a340
249249

250250
if (use_atk) {
251251
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
252-
index ff3ddb576cd53bec245bd11698e80cca2b62bb72..e101fce2646057ba96607805689bf3b25fa1e58d 100644
252+
index 80ca25f1b7d3562d29a76fe725f54eca7ce179f2..76232879cb6454f433907ab71b10ddaf047e82fe 100644
253253
--- a/ui/base/BUILD.gn
254254
+++ b/ui/base/BUILD.gn
255-
@@ -361,6 +361,7 @@ component("base") {
255+
@@ -359,6 +359,7 @@ component("base") {
256256
"interaction/element_tracker_mac.mm",
257257
"resource/resource_bundle_mac.mm",
258258
]

patches/chromium/can_create_window.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ index 70f2b666d7fa5421c26f7354d4fd0871bb51229a..fc93a7e98acd09ea2c6a1c8d209775d2
2121
&no_javascript_access);
2222

2323
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
24-
index 13ccc79c8ea8799c182223a295cf89a16ebff526..4f8187e10c6b328abd1d0a855f250e14ac880aac 100644
24+
index c500f6507c2d9298cdeba10cdf12c27f3a34c4d8..6cbca31bca51095b2301c9926910139b53548a9d 100644
2525
--- a/content/browser/web_contents/web_contents_impl.cc
2626
+++ b/content/browser/web_contents/web_contents_impl.cc
27-
@@ -4327,6 +4327,12 @@ FrameTree* WebContentsImpl::CreateNewWindow(
27+
@@ -4395,6 +4395,12 @@ FrameTree* WebContentsImpl::CreateNewWindow(
2828

2929
auto* new_contents_impl = new_contents.get();
3030

@@ -37,7 +37,7 @@ index 13ccc79c8ea8799c182223a295cf89a16ebff526..4f8187e10c6b328abd1d0a855f250e14
3737
// If the new frame has a name, make sure any SiteInstances that can find
3838
// this named frame have proxies for it. Must be called after
3939
// SetSessionStorageNamespace, since this calls CreateRenderView, which uses
40-
@@ -4368,12 +4374,6 @@ FrameTree* WebContentsImpl::CreateNewWindow(
40+
@@ -4436,12 +4442,6 @@ FrameTree* WebContentsImpl::CreateNewWindow(
4141
AddWebContentsDestructionObserver(new_contents_impl);
4242
}
4343

@@ -210,10 +210,10 @@ index bef5a989bac50c177f15f52fe87ac3790d553e85..65dcd2e3b51929400c8bfb6a98a4fb59
210210

211211
} // namespace blink
212212
diff --git a/third_party/blink/renderer/core/frame/local_dom_window.cc b/third_party/blink/renderer/core/frame/local_dom_window.cc
213-
index 22f92d8f173919127cce18b21f5f7a0895f723a1..240d6cce91b64b8bdc1e1842a06fbba2004b3178 100644
213+
index 0f97cb0d05ecfad9ac6dff6046257862c47f146c..635e1f3aa30afd42bc35c8bb9a795566797a6423 100644
214214
--- a/third_party/blink/renderer/core/frame/local_dom_window.cc
215215
+++ b/third_party/blink/renderer/core/frame/local_dom_window.cc
216-
@@ -2165,6 +2165,8 @@ DOMWindow* LocalDOMWindow::open(v8::Isolate* isolate,
216+
@@ -2166,6 +2166,8 @@ DOMWindow* LocalDOMWindow::open(v8::Isolate* isolate,
217217
WebWindowFeatures window_features =
218218
GetWindowFeaturesFromString(features, entered_window);
219219

patches/chromium/chore_add_buildflag_guard_around_new_include.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is an experimental commit; but if it's successful,
99
This patch should be upstreamed and then removed from electron's code.
1010

1111
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h
12-
index 75997cc57809a66844ab2f1b00c0818c09adf368..01b5382704f7c4ad3a6650b9f198b2cd3055485f 100644
12+
index fdb693680c28572ec0d5a1fc731a3cc2d2745e95..0f348db4b0b795623380bb1d068c7b7d28831650 100644
1313
--- a/chrome/browser/ui/views/frame/browser_view.h
1414
+++ b/chrome/browser/ui/views/frame/browser_view.h
1515
@@ -43,7 +43,6 @@

patches/chromium/chore_provide_iswebcontentscreationoverridden_with_full_params.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Pending upstream patch, this gives us fuller access to the window.open params
77
so that we will be able to decide whether to cancel it or not.
88

99
diff --git a/chrome/browser/media/offscreen_tab.cc b/chrome/browser/media/offscreen_tab.cc
10-
index 3205aa98621b855a8e1dcea19daf5c4bf660dc09..54a994670a6ce84baf74e1939aba88ca8f1648b3 100644
10+
index 5620967379a2f0754449bb47e8a3994be97fed54..e6d46a14d62df5dffc383b4fb36bb792a93bddab 100644
1111
--- a/chrome/browser/media/offscreen_tab.cc
1212
+++ b/chrome/browser/media/offscreen_tab.cc
13-
@@ -285,8 +285,7 @@ bool OffscreenTab::IsWebContentsCreationOverridden(
13+
@@ -286,8 +286,7 @@ bool OffscreenTab::IsWebContentsCreationOverridden(
1414
content::SiteInstance* source_site_instance,
1515
content::mojom::WindowContainerType window_container_type,
1616
const GURL& opener_url,
@@ -99,10 +99,10 @@ index e7df94b97731f9c0a11fc8cb862198df781fe21c..975206defd9e3b035d0a7cb2066fe97d
9999

100100
WebContents* Browser::CreateCustomWebContents(
101101
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
102-
index ce9edb90a7ac7f16af1dcb3fda492315315ace7c..126ddd6068e6023d7e21aefcf87d81791a61d262 100644
102+
index db37e861d254661b75bbe5802aa9d12c4e07b015..b41cf4e90a014a331835299291665df43f367b44 100644
103103
--- a/chrome/browser/ui/browser.h
104104
+++ b/chrome/browser/ui/browser.h
105-
@@ -886,8 +886,7 @@ class Browser : public TabStripModelObserver,
105+
@@ -890,8 +890,7 @@ class Browser : public TabStripModelObserver,
106106
content::SiteInstance* source_site_instance,
107107
content::mojom::WindowContainerType window_container_type,
108108
const GURL& opener_url,
@@ -190,10 +190,10 @@ index e5b1bd6bb831f9e1e17520015d09068464ecb098..f8094fb78f30d6f3145b6ee704305281
190190
void SetContentsBounds(content::WebContents* source,
191191
const gfx::Rect& bounds) override;
192192
diff --git a/components/offline_pages/content/background_loader/background_loader_contents.cc b/components/offline_pages/content/background_loader/background_loader_contents.cc
193-
index e055852342aef9ab1b49a9d8a630fae1173862e4..cc3ce00fb16ad560852aae6c3dcab29d920faec1 100644
193+
index 524b71f68bc048486d43d39f24fd07d483919944..73bb698b646ea0b4992aa86f56862376df090598 100644
194194
--- a/components/offline_pages/content/background_loader/background_loader_contents.cc
195195
+++ b/components/offline_pages/content/background_loader/background_loader_contents.cc
196-
@@ -83,8 +83,7 @@ bool BackgroundLoaderContents::IsWebContentsCreationOverridden(
196+
@@ -84,8 +84,7 @@ bool BackgroundLoaderContents::IsWebContentsCreationOverridden(
197197
content::SiteInstance* source_site_instance,
198198
content::mojom::WindowContainerType window_container_type,
199199
const GURL& opener_url,
@@ -218,10 +218,10 @@ index 4e32d708ecf4afd3913d86ec1602ef2dc9a60998..1dd2f50fba1387b5eeb554dd540957d7
218218
void AddNewContents(content::WebContents* source,
219219
std::unique_ptr<content::WebContents> new_contents,
220220
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
221-
index 7b34c3ecc778ee08f262b9b232c1dbd5c10d2475..08e3ff32f55a7d21bcf795764273758995854a80 100644
221+
index cab32460f2da655fa65675a64cef0a04106f3876..864835dc83c51e8d67a6a6d2da32e1fb2fffb23d 100644
222222
--- a/content/browser/web_contents/web_contents_impl.cc
223223
+++ b/content/browser/web_contents/web_contents_impl.cc
224-
@@ -4234,8 +4234,7 @@ FrameTree* WebContentsImpl::CreateNewWindow(
224+
@@ -4302,8 +4302,7 @@ FrameTree* WebContentsImpl::CreateNewWindow(
225225

226226
if (delegate_ && delegate_->IsWebContentsCreationOverridden(
227227
source_site_instance, params.window_container_type,

patches/chromium/disable_color_correct_rendering.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,18 @@ index 6892376fa33d006453977c354734d880a7ef7c91..4cd7b762d5fe1c54f5b06cc0d8f50560
148148
}
149149

150150
diff --git a/third_party/blink/renderer/platform/widget/compositing/layer_tree_settings.cc b/third_party/blink/renderer/platform/widget/compositing/layer_tree_settings.cc
151-
index b5c519d77e404d626ce04e16bea02a3ae2dac4ff..d0a4564bc52901dfa58993331a977f2c4980f2c5 100644
151+
index 6dd6faea68da987e9c8e0d87cb6246537af28186..6c68997c5459e0f6304bb275a2b0d6e7df85f2ca 100644
152152
--- a/third_party/blink/renderer/platform/widget/compositing/layer_tree_settings.cc
153153
+++ b/third_party/blink/renderer/platform/widget/compositing/layer_tree_settings.cc
154-
@@ -30,6 +30,7 @@
154+
@@ -29,6 +29,7 @@
155155
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
156156
#include "ui/base/ui_base_features.h"
157157
#include "ui/base/ui_base_switches.h"
158158
+#include "ui/gfx/switches.h"
159159
#include "ui/native_theme/native_theme_features.h"
160160
#include "ui/native_theme/overlay_scrollbar_constants_aura.h"
161161

162-
@@ -318,6 +319,9 @@ cc::LayerTreeSettings GenerateLayerTreeSettings(
162+
@@ -329,6 +330,9 @@ cc::LayerTreeSettings GenerateLayerTreeSettings(
163163
settings.main_frame_before_activation_enabled =
164164
cmd.HasSwitch(cc::switches::kEnableMainFrameBeforeActivation);
165165

0 commit comments

Comments
 (0)