Set v8_enable_sandbox=false to avoid CefV8Value::CreateArrayBuffer crash (see issue #3332)

This commit is contained in:
Marshall Greenblatt 2022-05-20 14:06:10 +03:00
parent 185a908811
commit bf168174d0
1 changed files with 5 additions and 0 deletions

View File

@ -228,6 +228,11 @@ def GetRecommendedDefaultArgs():
# introduces a Windows official build dependency on the # introduces a Windows official build dependency on the
# "//chrome:chrome_dll" target, which will fail to build with CEF. # "//chrome:chrome_dll" target, which will fail to build with CEF.
'enable_resource_allowlist_generation': False, 'enable_resource_allowlist_generation': False,
# Disable V8 sandboxed pointers to avoid crashing when using
# CefV8Value::CreateArrayBuffer with memory allocated outside of the V8
# sandbox. See https://bitbucket.org/chromiumembedded/cef/issues/3332.
'v8_enable_sandbox': False,
} }
if platform != 'windows': if platform != 'windows':