chore: bump chromium to 126.0.6445.0 (main) (#41868)
* chore: bump chromium in DEPS to 125.0.6421.0 * chore: bump chromium in DEPS to 125.0.6422.0 * Add ENABLE_BASE_TRACING flags for compatibility with enable_base_tracing = false on Windows5434658
* chore: update patches * fixup: Add ENABLE_BASE_TRACING flags for compatibility with enable_base_tracing = false on Windows * chore: bump chromium in DEPS to 126.0.6423.0 * chore: update patches * 5426599: Next generation control of unsafe-buffers-usage plugin5426599
* chore: bump chromium in DEPS to 126.0.6425.0 * chore: update patches * Roll clang+rust llvmorg-19-init-7229-g315c88c5-2 : llvmorg-19-init-8091-gab037c4f-1 / ceab6128fa48a616bfd3e3adf4bc80133b8ee223-1 : ab71ee7a9214c2793108a41efb065aa77aeb7326-15444328
Also see https://issues.chromium.org/issues/332931387 * 5445074: [Views AX] Move AXEventNotificationDetails to ui/accessibility/5445074
Also 5455993: [Views AX] Rename AXEventNotificationDetails to AXUpdatesAndEvents |5455993
* Pass IsolationInfo to ContentBrowserClient::WillCreateURLLoaderFactory()5405301
* chore: bump chromium in DEPS to 126.0.6427.0 * chore: update patches * chore: remove no longer needed patch perfetto is now turned on so this patch is no longer needed. * chore: bump chromium in DEPS to 126.0.6429.0 * chore: bump chromium in DEPS to 126.0.6431.0 * chore: bump chromium in DEPS to 126.0.6433.0 * 5466654: Do not create a console if logging to a handle5466654
* chore: fixup patch indices * Address Linux NonClientFrameView Changes -5180720
-5367794
* chore: bump chromium in DEPS to 126.0.6435.0 * chore: bump chromium in DEPS to 126.0.6437.0 * chore: update patches * chore: bump chromium in DEPS to 126.0.6439.0 * chore: bump chromium in DEPS to 126.0.6441.0 * 5477689: components/crash/content/tools: Format with yapf |5477689
* 5485006: Remove enable_print_content_analysis GN flag |5485006
* chore: update chromium patches * chore: bump chromium in DEPS to 126.0.6443.0 * 5465608: Convert DCHECKs near RenderWidgetHost, DelegatedFrameHost to CHECK |5465608
* 5492605: Migrate TODOs referencing old crbug IDs to the new issue tracker IDs |5492605
* chore: update patches * chore: bump chromium in DEPS to 126.0.6445.0 * chore: update patches * 5468588: Fullscreen: Encapsulate ExclusiveAccessBubble params in a struct |5468588
* fixup! 5485006: Remove enable_print_content_analysis GN flag |5485006
* 5461340: `size_t` in `mojo::DataPipe[Consumer|Producer]Handle`: /components. |5461340
* 5480213: Add an EvictIds struct to FrameEvictorClient |5480213
* 4341506: [api] Deprecate Isolate::IdleNotificationDeadline |4341506
* 5300826: [v8-tasks] Add source location to v8::TaskRunner, step 4/4. |5300826
* partially revert is_newly_created to allow for browser initiated about:blank loads * add dep on app_launch_prefetch Ref:5420149
* install sysroots from electron not from chrome We should add a new var upstream for `download_sysroots` so that we can skip downloading chromes at all. Ref:5462469
* refactor: make UpdateFrameHints an override Ref:5473548
* fix ppapi * refactor: update namespace for pwm switches Ref:5444617
* 5459367: WebSQL: Restrict WebSQL service creation to Android only |5459367
* 5455853: Revert "[Clipboard] Don't add meta charset tag for async write() method on Mac." |5455853
* fixup! refactor: update namespace for pwm switches edd9e26 Ref:5444617
* 5147611: [heap] Add checks for ensuring position info slow path is not used in heap snapshot |5147611
* fixup! 5412666: [heap] Also avoid heap allocation for allocation tracked functions |5412666
* chore: add websql removal to breaking-changes.md --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: VerteDinde <vertedinde@electronjs.org> Co-authored-by: Keeley Hammond <khammond@slack-corp.com> Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
This commit is contained in:
parent
0725f5c5cf
commit
9b0409f7c9
133 changed files with 1313 additions and 935 deletions
|
@ -46,3 +46,4 @@ src_preload_function_for_environment.patch
|
|||
deprecate_vector_v8_local_in_v8.patch
|
||||
fix_remove_deprecated_errno_constants.patch
|
||||
build_enable_perfetto.patch
|
||||
fix_add_source_location_for_v8_task_runner.patch
|
||||
|
|
101
patches/node/fix_add_source_location_for_v8_task_runner.patch
Normal file
101
patches/node/fix_add_source_location_for_v8_task_runner.patch
Normal file
|
@ -0,0 +1,101 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: VerteDinde <vertedinde@electronjs.org>
|
||||
Date: Mon, 29 Apr 2024 02:56:27 -0700
|
||||
Subject: fix: add source location for v8::Task Runner
|
||||
|
||||
This patch corresponds with an upstream change which adds
|
||||
Post*TaskImpl variants of v8::TaskRunner::Post*Task methods,
|
||||
which take a v8::SourceLocation argument, and makes Post*Task
|
||||
methods non-virtual. In the original CL, embedders are asked
|
||||
to override the Post*TaskImpl methods.
|
||||
|
||||
This patch can be removed when node's upstream makes a
|
||||
corresponding change.
|
||||
|
||||
CL: https://chromium-review.googlesource.com/c/v8/v8/+/5300826
|
||||
|
||||
diff --git a/src/node_platform.cc b/src/node_platform.cc
|
||||
index 00ca9757bc4d0cdeb03a3f32be3ef19077cb7969..65a9b79ae6ac8b7589e8f8109a709acb41d12b97 100644
|
||||
--- a/src/node_platform.cc
|
||||
+++ b/src/node_platform.cc
|
||||
@@ -245,11 +245,13 @@ void PerIsolatePlatformData::FlushTasks(uv_async_t* handle) {
|
||||
platform_data->FlushForegroundTasksInternal();
|
||||
}
|
||||
|
||||
-void PerIsolatePlatformData::PostIdleTask(std::unique_ptr<v8::IdleTask> task) {
|
||||
+void PerIsolatePlatformData::PostIdleTaskImpl(std::unique_ptr<v8::IdleTask> task,
|
||||
+ const v8::SourceLocation& location) {
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
-void PerIsolatePlatformData::PostTask(std::unique_ptr<Task> task) {
|
||||
+void PerIsolatePlatformData::PostTaskImpl(std::unique_ptr<Task> task,
|
||||
+ const v8::SourceLocation& location) {
|
||||
if (flush_tasks_ == nullptr) {
|
||||
// V8 may post tasks during Isolate disposal. In that case, the only
|
||||
// sensible path forward is to discard the task.
|
||||
@@ -259,8 +261,10 @@ void PerIsolatePlatformData::PostTask(std::unique_ptr<Task> task) {
|
||||
uv_async_send(flush_tasks_);
|
||||
}
|
||||
|
||||
-void PerIsolatePlatformData::PostDelayedTask(
|
||||
- std::unique_ptr<Task> task, double delay_in_seconds) {
|
||||
+void PerIsolatePlatformData::PostDelayedTaskImpl(
|
||||
+ std::unique_ptr<Task> task,
|
||||
+ double delay_in_seconds,
|
||||
+ const v8::SourceLocation& location) {
|
||||
if (flush_tasks_ == nullptr) {
|
||||
// V8 may post tasks during Isolate disposal. In that case, the only
|
||||
// sensible path forward is to discard the task.
|
||||
@@ -274,13 +278,15 @@ void PerIsolatePlatformData::PostDelayedTask(
|
||||
uv_async_send(flush_tasks_);
|
||||
}
|
||||
|
||||
-void PerIsolatePlatformData::PostNonNestableTask(std::unique_ptr<Task> task) {
|
||||
+void PerIsolatePlatformData::PostNonNestableTaskImpl(std::unique_ptr<Task> task,
|
||||
+ const v8::SourceLocation& location) {
|
||||
PostTask(std::move(task));
|
||||
}
|
||||
|
||||
-void PerIsolatePlatformData::PostNonNestableDelayedTask(
|
||||
+void PerIsolatePlatformData::PostNonNestableDelayedTaskImpl(
|
||||
std::unique_ptr<Task> task,
|
||||
- double delay_in_seconds) {
|
||||
+ double delay_in_seconds,
|
||||
+ const v8::SourceLocation& location) {
|
||||
PostDelayedTask(std::move(task), delay_in_seconds);
|
||||
}
|
||||
|
||||
diff --git a/src/node_platform.h b/src/node_platform.h
|
||||
index 77cb5e6e4f891c510cdaf7fd6175a1f00d9bc420..dde2d1b5687a5b52a4f09183bb4ff88d7d3e4d01 100644
|
||||
--- a/src/node_platform.h
|
||||
+++ b/src/node_platform.h
|
||||
@@ -59,18 +59,21 @@ class PerIsolatePlatformData :
|
||||
~PerIsolatePlatformData() override;
|
||||
|
||||
std::shared_ptr<v8::TaskRunner> GetForegroundTaskRunner() override;
|
||||
- void PostTask(std::unique_ptr<v8::Task> task) override;
|
||||
- void PostIdleTask(std::unique_ptr<v8::IdleTask> task) override;
|
||||
- void PostDelayedTask(std::unique_ptr<v8::Task> task,
|
||||
- double delay_in_seconds) override;
|
||||
+ void PostTaskImpl(std::unique_ptr<v8::Task> task, const v8::SourceLocation&) override;
|
||||
+ void PostIdleTaskImpl(std::unique_ptr<v8::IdleTask> task, const v8::SourceLocation&) override;
|
||||
+ void PostDelayedTaskImpl(std::unique_ptr<v8::Task> task,
|
||||
+ double delay_in_seconds,
|
||||
+ const v8::SourceLocation&) override;
|
||||
bool IdleTasksEnabled() override { return false; }
|
||||
|
||||
// Non-nestable tasks are treated like regular tasks.
|
||||
bool NonNestableTasksEnabled() const override { return true; }
|
||||
bool NonNestableDelayedTasksEnabled() const override { return true; }
|
||||
- void PostNonNestableTask(std::unique_ptr<v8::Task> task) override;
|
||||
- void PostNonNestableDelayedTask(std::unique_ptr<v8::Task> task,
|
||||
- double delay_in_seconds) override;
|
||||
+ void PostNonNestableTaskImpl(std::unique_ptr<v8::Task> task,
|
||||
+ const v8::SourceLocation&) override;
|
||||
+ void PostNonNestableDelayedTaskImpl(std::unique_ptr<v8::Task> task,
|
||||
+ double delay_in_seconds,
|
||||
+ const v8::SourceLocation&) override;
|
||||
|
||||
void AddShutdownCallback(void (*callback)(void*), void* data);
|
||||
void Shutdown();
|
|
@ -147,7 +147,7 @@ index 6e5bbe07d0c337b36f3157c2e6404fdc91849fd1..7ec682833213de9054a8c30751436d12
|
|||
DHPointer dh;
|
||||
{
|
||||
diff --git a/src/crypto/crypto_dh.cc b/src/crypto/crypto_dh.cc
|
||||
index b4447102a8478639a5aa774e583834d79808603f..678be07feb394530b944c1b356265416f2d50742 100644
|
||||
index b4447102a8478639a5aa774e583834d79808603f..ecf938d51ccdbfcb825d44c5ed4ea1229cb05389 100644
|
||||
--- a/src/crypto/crypto_dh.cc
|
||||
+++ b/src/crypto/crypto_dh.cc
|
||||
@@ -154,13 +154,11 @@ bool DiffieHellman::Init(BignumPointer&& bn_p, int g) {
|
||||
|
@ -201,7 +201,7 @@ index b4447102a8478639a5aa774e583834d79808603f..678be07feb394530b944c1b356265416
|
|||
V("modp5", BN_get_rfc3526_prime_1536);
|
||||
V("modp14", BN_get_rfc3526_prime_2048);
|
||||
V("modp15", BN_get_rfc3526_prime_3072);
|
||||
@@ -559,15 +556,20 @@ EVPKeyCtxPointer DhKeyGenTraits::Setup(DhKeyPairGenConfig* params) {
|
||||
@@ -559,15 +556,21 @@ EVPKeyCtxPointer DhKeyGenTraits::Setup(DhKeyPairGenConfig* params) {
|
||||
return EVPKeyCtxPointer();
|
||||
}
|
||||
|
||||
|
@ -212,17 +212,19 @@ index b4447102a8478639a5aa774e583834d79808603f..678be07feb394530b944c1b356265416
|
|||
key_params = EVPKeyPointer(EVP_PKEY_new());
|
||||
CHECK(key_params);
|
||||
CHECK_EQ(EVP_PKEY_assign_DH(key_params.get(), dh.release()), 1);
|
||||
- } else if (int* prime_size = std::get_if<int>(¶ms->params.prime)) {
|
||||
+#else
|
||||
+ return EVPKeyCtxPointer();
|
||||
+#endif
|
||||
} else if (int* prime_size = std::get_if<int>(¶ms->params.prime)) {
|
||||
+ } else if (std::get_if<int>(¶ms->params.prime)) {
|
||||
EVPKeyCtxPointer param_ctx(EVP_PKEY_CTX_new_id(EVP_PKEY_DH, nullptr));
|
||||
EVP_PKEY* raw_params = nullptr;
|
||||
+#ifndef OPENSSL_IS_BORINGSSL
|
||||
+ int* prime_size = std::get_if<int>(¶ms->params.prime);
|
||||
if (!param_ctx ||
|
||||
EVP_PKEY_paramgen_init(param_ctx.get()) <= 0 ||
|
||||
EVP_PKEY_CTX_set_dh_paramgen_prime_len(
|
||||
@@ -581,6 +583,9 @@ EVPKeyCtxPointer DhKeyGenTraits::Setup(DhKeyPairGenConfig* params) {
|
||||
@@ -581,6 +584,9 @@ EVPKeyCtxPointer DhKeyGenTraits::Setup(DhKeyPairGenConfig* params) {
|
||||
}
|
||||
|
||||
key_params = EVPKeyPointer(raw_params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue