Bug 1324020 - Remove unreachable code in EnumerableOwnProperties function. rs=Waldo

This commit is contained in:
André Bargull 2016-12-23 05:13:41 -08:00
Родитель dfd9861f07
Коммит fb9632e1c7
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -860,9 +860,7 @@ EnumerableOwnProperties(JSContext* cx, const JS::CallArgs& args, EnumerableOwnPr
// (Omitted because Object.keys doesn't use this implementation.)
// Step 4.a.ii.2.a.
if (obj->isNative() && desc.hasValue())
value = desc.value();
else if (!GetProperty(cx, obj, obj, id, &value))
if (!GetProperty(cx, obj, obj, id, &value))
return false;
}