summaryrefslogtreecommitdiffstats
path: root/js/src/proxy/SecurityWrapper.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-10-26 13:08:45 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-10-26 16:19:04 +0200
commitc59c9682d351e641f184e1f8095f399fee179f62 (patch)
tree137c732cac39f8cf80ed7e682a4c834c6997d390 /js/src/proxy/SecurityWrapper.cpp
parent565ae72f5af3bcc9fb85945233e2a7afa115d435 (diff)
downloadUXP-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/src/proxy/SecurityWrapper.cpp')
-rw-r--r--js/src/proxy/SecurityWrapper.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/js/src/proxy/SecurityWrapper.cpp b/js/src/proxy/SecurityWrapper.cpp
index 710faf9b0..71d22fca6 100644
--- a/js/src/proxy/SecurityWrapper.cpp
+++ b/js/src/proxy/SecurityWrapper.cpp
@@ -130,24 +130,5 @@ SecurityWrapper<Base>::defineProperty(JSContext* cx, HandleObject wrapper, Handl
return Base::defineProperty(cx, wrapper, id, desc, result);
}
-template <class Base>
-bool
-SecurityWrapper<Base>::watch(JSContext* cx, HandleObject proxy,
- HandleId id, HandleObject callable) const
-{
- ReportUnwrapDenied(cx);
- return false;
-}
-
-template <class Base>
-bool
-SecurityWrapper<Base>::unwatch(JSContext* cx, HandleObject proxy,
- HandleId id) const
-{
- ReportUnwrapDenied(cx);
- return false;
-}
-
-
template class js::SecurityWrapper<Wrapper>;
template class js::SecurityWrapper<CrossCompartmentWrapper>;