aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4proxy_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-19 12:07:40 +0200
committerLars Knoll <lars.knoll@qt.io>2018-06-25 07:36:44 +0000
commit3823e9b94f849f8344b81250fac708ac2eaccd16 (patch)
treeffe4ce6f2df01889501b4c4e45b8241d02d973f5 /src/qml/jsruntime/qv4proxy_p.h
parent4094ce77af45427613e823a2a4d3c6087230d35a (diff)
Support preventExtensions in Proxy handlers
Change-Id: I03aaacc260bdb46eb09c597598a45fbb25d6d7b6 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4proxy_p.h b/src/qml/jsruntime/qv4proxy_p.h
index 36cf00aa47..a8b5b63a6c 100644
--- a/src/qml/jsruntime/qv4proxy_p.h
+++ b/src/qml/jsruntime/qv4proxy_p.h
@@ -94,6 +94,7 @@ struct ProxyObject: Object {
static bool hasProperty(const Managed *m, Identifier id);
static PropertyAttributes getOwnProperty(Managed *m, Identifier id, Property *p);
static bool isExtensible(const Managed *m);
+ static bool preventExtensions(Managed *);
// those might require a second proxy object that derives from FunctionObject...
// static ReturnedValue callAsConstructor(const FunctionObject *f, const Value *argv, int argc);