mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 854788 - Add a missing recursion check on Proxy::objectClassIs. r=m_kato, r=Waldo
This commit is contained in:
parent
a997939112
commit
72d66f20d9
@ -2659,6 +2659,7 @@ Proxy::hasInstance(JSContext *cx, HandleObject proxy, MutableHandleValue v, bool
|
||||
bool
|
||||
Proxy::objectClassIs(HandleObject proxy, ESClassValue classValue, JSContext *cx)
|
||||
{
|
||||
JS_CHECK_RECURSION(cx, return false);
|
||||
return GetProxyHandler(proxy)->objectClassIs(proxy, classValue, cx);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user