diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-06-19 11:50:07 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-06-25 07:36:41 +0000 |
commit | 4094ce77af45427613e823a2a4d3c6087230d35a (patch) | |
tree | 027d8c054435016f1f478790fdcd4ac745ce8048 /src/qml/jsruntime/qv4proxy_p.h | |
parent | 4f5d83acf78c7e3e3f4b89190d6109a4c8fa574d (diff) |
Add support for isExtensible in proxy handlers
Change-Id: I580ff0ab33fa58bcd42f6cc500f4a20ee5b05e87
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 12360edc8a..36cf00aa47 100644 --- a/src/qml/jsruntime/qv4proxy_p.h +++ b/src/qml/jsruntime/qv4proxy_p.h @@ -93,6 +93,7 @@ struct ProxyObject: Object { static bool deleteIndexedProperty(Managed *m, uint index); static bool hasProperty(const Managed *m, Identifier id); static PropertyAttributes getOwnProperty(Managed *m, Identifier id, Property *p); + static bool isExtensible(const Managed *m); // those might require a second proxy object that derives from FunctionObject... // static ReturnedValue callAsConstructor(const FunctionObject *f, const Value *argv, int argc); |