diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-26 13:08:45 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-26 16:19:04 +0200 |
commit | c59c9682d351e641f184e1f8095f399fee179f62 (patch) | |
tree | 137c732cac39f8cf80ed7e682a4c834c6997d390 /js/public/Proxy.h | |
parent | 565ae72f5af3bcc9fb85945233e2a7afa115d435 (diff) | |
download | UXP-c59c9682d351e641f184e1f8095f399fee179f62.tar UXP-c59c9682d351e641f184e1f8095f399fee179f62.tar.gz UXP-c59c9682d351e641f184e1f8095f399fee179f62.tar.lz UXP-c59c9682d351e641f184e1f8095f399fee179f62.tar.xz UXP-c59c9682d351e641f184e1f8095f399fee179f62.zip |
Issue #1257 - Part1: Remove watch class-hook and proxy trap.
Diffstat (limited to 'js/public/Proxy.h')
-rw-r--r-- | js/public/Proxy.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/public/Proxy.h b/js/public/Proxy.h index 5acb91b26..f40772fb0 100644 --- a/js/public/Proxy.h +++ b/js/public/Proxy.h @@ -341,12 +341,6 @@ class JS_FRIEND_API(BaseProxyHandler) virtual bool isCallable(JSObject* obj) const; virtual bool isConstructor(JSObject* obj) const; - // These two hooks must be overridden, or not overridden, in tandem -- no - // overriding just one! - virtual bool watch(JSContext* cx, JS::HandleObject proxy, JS::HandleId id, - JS::HandleObject callable) const; - virtual bool unwatch(JSContext* cx, JS::HandleObject proxy, JS::HandleId id) const; - virtual bool getElements(JSContext* cx, HandleObject proxy, uint32_t begin, uint32_t end, ElementAdder* adder) const; |