mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 22:08:40 +09:00
Issue #1257 - Part1: Remove watch class-hook and proxy trap.
This commit is contained in:
parent
abbe1d4499
commit
3b9fbdc71d
18 changed files with 5 additions and 145 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue