diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-08-03 10:06:52 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-08-04 09:16:33 +0000 |
commit | 895a3f08b4feade6b377c1818a7fff9b0b1052c6 (patch) | |
tree | 9dfef5030e3e7720282791e4585c396db095be02 /src/qml/jsruntime/qv4proxy_p.h | |
parent | 18376523d495597bbe009cf20d783816c9f3a44a (diff) |
Implement support for ownKeys in Proxy objects
Change-Id: I7edee88e4252e6ed0d2666c3f633bb595cb0e831
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4proxy_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4proxy_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4proxy_p.h b/src/qml/jsruntime/qv4proxy_p.h index 4d631e882c..bad4d040c7 100644 --- a/src/qml/jsruntime/qv4proxy_p.h +++ b/src/qml/jsruntime/qv4proxy_p.h @@ -95,6 +95,7 @@ struct ProxyObject: Object { static bool virtualPreventExtensions(Managed *); static Heap::Object *virtualGetPrototypeOf(const Managed *); static bool virtualSetPrototypeOf(Managed *, const Object *); + static OwnPropertyKeyIterator *virtualOwnPropertyKeys(const Object *m); // those might require a second proxy object that derives from FunctionObject... // static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *); |