mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
Resolves #1407
More the DeserializeV8Object call to within the context->Enter so a V8Object can be created Change callback to use a struct as it's return type to demo the solution to this bug Add missing list->SetDictionary call in V8Serialization.cpp
This commit is contained in:
@@ -160,7 +160,7 @@ namespace CefSharp
|
||||
auto size = subDict->GetSize();
|
||||
std::vector<CefString> keys;
|
||||
subDict->GetKeys(keys);
|
||||
result = CefV8Value::CreateArray(size);
|
||||
result = CefV8Value::CreateObject(nullptr);
|
||||
for (auto i = 0; i < size; i++)
|
||||
{
|
||||
result->SetValue(keys[i], DeserializeV8Object(subDict, keys[i]), V8_PROPERTY_ATTRIBUTE_NONE);
|
||||
|
||||
Reference in New Issue
Block a user