Bug 698299 - rm bogus assert in SecurityWrapper::nativeCall (r=mrbkap)

--HG--
extra : rebase_source : 76029f08a99557061e33550165267488acf38e9b
This commit is contained in:
Luke Wagner 2011-11-10 21:55:35 -08:00
parent ce23677698
commit 86474973a1

View File

@ -863,9 +863,9 @@ SecurityWrapper<Base>::nativeCall(JSContext *cx, JSObject *wrapper, Class *clasp
CallArgs args)
{
/* Let ProxyHandler report the error. */
bool ret = ProxyHandler::nativeCall(cx, wrapper, clasp, native, args);
JS_ASSERT(!ret && cx->isExceptionPending());
return ret;
DebugOnly<bool> ret = ProxyHandler::nativeCall(cx, wrapper, clasp, native, args);
JS_ASSERT(!ret);
return false;
}
template <class Base>