cef/tests/cefclient
Nik Pavlov 295ea1f715 Enable V8 sandbox by default (fixes #3332)
When the V8 sandbox is enabled, ArrayBuffer backing stores must be
allocated inside the sandbox address space. This change introduces a new
CefV8Value::CreateArrayBufferWithCopy method that copies the memory
contents into the sandbox address space.

Enabling the V8 sandbox can have a performance impact, especially when
passing large ArrayBuffers from C++ code to the JS side. We have therefore
retained the old CefV8Value::CreateArrayBuffer method that references
external memory. However, this method can only be used if the V8 sandbox is
disabled at CEF/Chromium build time.

To disable the V8 sandbox add `v8_enable_sandbox=false` to
`GN_DEFINES` when building CEF/Chromium.
2024-08-05 16:00:58 +00:00
..
browser
common
mac bazel: Add initial config for binary distribution (see #3757) 2024-07-28 18:19:47 +00:00
renderer Enable V8 sandbox by default (fixes #3332) 2024-08-05 16:00:58 +00:00
resources Enable V8 sandbox by default (fixes #3332) 2024-08-05 16:00:58 +00:00
win bazel: Add initial config for binary distribution (see #3757) 2024-07-28 18:19:47 +00:00
cefclient_gtk.cc
cefclient_mac.mm
cefclient_win.cc
CMakeLists.txt.in bazel: Add initial config for binary distribution (see #3757) 2024-07-28 18:19:47 +00:00