add spec
This commit is contained in:
parent
2044208fd6
commit
ad5f944185
2 changed files with 46 additions and 3 deletions
|
@ -254,7 +254,8 @@ bool Converter<scoped_refptr<ResourceRequestBodyImpl>>::FromV8(
|
|||
for (int i = 0; i < list->GetSize(); ++i) {
|
||||
base::DictionaryValue* dict = nullptr;
|
||||
std::string type;
|
||||
list->GetDictionary(i, &dict);
|
||||
if (!list->GetDictionary(i, &dict))
|
||||
return false;
|
||||
dict->GetString("type", &type);
|
||||
if (type == "data") {
|
||||
base::BinaryValue* bytes = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue