From bcc9aa7daf197e8f2befe215902443d608e07b6a Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 8 Sep 2018 23:07:31 +0200 Subject: Include symbols in getOwnPropertyKeys And fix getOwnPropertySymbols and getOwnPropertyDescriptors. Change-Id: Ie0e4c3d308ffe8a904e9a6ab9242b2cda59d779f Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4object_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qml/jsruntime/qv4object_p.h') diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index 0a27993004..41484660ab 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -392,6 +392,7 @@ struct ObjectOwnPropertyKeyIterator : OwnPropertyKeyIterator { uint arrayIndex = 0; uint memberIndex = 0; + bool iterateOverSymbols = false; SparseArrayNode *arrayNode = nullptr; ~ObjectOwnPropertyKeyIterator() override = default; PropertyKey next(const Object *o, Property *pd = nullptr, PropertyAttributes *attrs = nullptr) override; -- cgit v1.2.3