cef/libcef/renderer
Nik Pavlov c739fc029f 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 14:28:35 -04:00
..
chrome Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
blink_glue.cc Rewrite raw pointers reported by clang plugin (see #3239) 2024-06-21 11:29:23 -04:00
blink_glue.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
browser_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
dom_document_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
dom_document_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
dom_node_impl.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
dom_node_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
frame_impl.cc Update to Chromium version 128.0.6613.0 (#1331488) 2024-07-30 11:10:09 -04:00
frame_impl.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
render_frame_observer.cc Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00
render_frame_observer.h chrome: Add extension support for Alloy style browsers (see #3681) 2024-04-27 15:36:58 -04:00
render_frame_util.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
render_frame_util.h Update to Chromium version 122.0.6261.0 (#1250580) 2024-01-30 12:07:08 -05:00
render_manager.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
render_manager.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
thread_util.h Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
v8_impl.cc Enable V8 sandbox by default (fixes #3332) 2024-08-05 14:28:35 -04:00
v8_impl.h Update to Chromium version 126.0.6478.0 (#1300313) 2024-05-26 13:45:29 -04:00