chore: bump chromium to 104.0.5073.0 (main) (#34272)
This commit is contained in:
parent
3849d19e14
commit
470396d6ac
112 changed files with 663 additions and 589 deletions
32
patches/v8/allow_disabling_of_v8_sandboxed_pointers.patch
Normal file
32
patches/v8/allow_disabling_of_v8_sandboxed_pointers.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: John Kleinschmidt <jkleinsc@electronjs.org>
|
||||
Date: Thu, 26 May 2022 10:45:49 -0400
|
||||
Subject: allow disabling of v8 sandboxed pointers
|
||||
|
||||
V8 sandboxed pointers are incompatible with Node due to changes like
|
||||
https://chromium-review.googlesource.com/c/v8/v8/+/3114136, so for
|
||||
now we need a way to disable v8 sandboxed pointers.
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index 114cfd757b60c14cfb7a6bc9f9f69765363c9c6c..5e8a6bb2c26c3e5701e628cbf4bfcf9b2eb6b82f 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -501,18 +501,6 @@ if (v8_enable_sandbox == "") {
|
||||
v8_enable_external_code_space
|
||||
}
|
||||
|
||||
-# Enable sandboxed pointers on desktop when the sandbox is enabled.
|
||||
-if (v8_enable_sandbox) {
|
||||
- # When sanitizers are enabled, PartitionAlloc forwards allocations to malloc
|
||||
- # instead of allocating from its Pools and so isn't compatible with the
|
||||
- # sandbox. As such, disable the sandbox there. See https://crbug.com/1323174
|
||||
- if (!is_asan && !is_hwasan && !is_lsan && !is_tsan && !is_msan) {
|
||||
- v8_enable_sandboxed_pointers =
|
||||
- target_os != "fuchsia" && target_os != "android" &&
|
||||
- target_os != "chromeos"
|
||||
- }
|
||||
-}
|
||||
-
|
||||
# Enable all available sandbox features if sandbox future is enabled.
|
||||
if (v8_enable_sandbox_future) {
|
||||
v8_enable_sandboxed_pointers = true
|
Loading…
Add table
Add a link
Reference in a new issue