cef/libcef_dll/wrapper
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
..
cef_browser_info_map.h Update source files for bracket style 2023-01-04 17:47:17 -05:00
cef_byte_read_handler.cc wrapper: Format with clang-tidy (see #3632) 2024-01-20 12:34:13 -05:00
cef_closure_task.cc Update generated files for int/char typedef removal (see #3507) 2023-06-01 19:32:36 +03:00
cef_library_loader_mac.mm macOS: Load the CEF framework using dlopen instead of direct linking (issue #2459) 2018-07-27 17:36:49 -04:00
cef_message_router.cc Enable V8 sandbox by default (fixes #3332) 2024-08-05 14:28:35 -04:00
cef_message_router_utils.cc Apply new Chromium style for #include sorting 2024-05-01 14:34:32 -04:00
cef_message_router_utils.h Enable V8 sandbox by default (fixes #3332) 2024-08-05 14:28:35 -04:00
cef_resource_manager.cc wrapper: Format with clang-tidy (see #3632) 2024-01-20 12:34:13 -05:00
cef_scoped_temp_dir.cc wrapper: Format with clang-tidy (see #3632) 2024-01-20 12:34:13 -05:00
cef_stream_resource_handler.cc Update generated files for int/char typedef removal (see #3507) 2023-06-01 19:32:36 +03:00
cef_xml_object.cc wrapper: Format with clang-tidy (see #3632) 2024-01-20 12:34:13 -05:00
cef_zip_archive.cc wrapper: Format with clang-tidy (see #3632) 2024-01-20 12:34:13 -05:00
libcef_dll_dylib.cc Enable V8 sandbox by default (fixes #3332) 2024-08-05 14:28:35 -04:00
libcef_dll_wrapper.cc Call SetIsShutdown after CefInitialize (fixes #3738) 2024-07-15 16:44:38 -04:00
libcef_dll_wrapper2.cc Replace NOTREACHED() with DCHECK(false) (fixes #3500) 2023-05-08 18:36:00 +03:00