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:
amaitland
2015-11-18 09:17:16 +10:00
committed by amaitland
parent c0df93c1c4
commit 4de8dca04b
7 changed files with 34 additions and 9 deletions
@@ -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);