Bug 788914 - Removing failing assertion in EnableUniversalXPConnect. r=me

This seems to be failing intermittently during linux64 jsreftests (possibly due to OOM?). UniversalXPConnect is a test-only construct, so we don't really care too much about a failure here as long as it doesn't go orange in other ways.
This commit is contained in:
Bobby Holley 2012-09-07 14:48:55 -07:00
parent 10a557c105
commit be3cae8379

View File

@ -4410,10 +4410,10 @@ inline void EnableUniversalXPConnect(JSContext *cx)
// Recompute all the cross-compartment wrappers leaving the newly-privileged
// compartment.
mozilla::DebugOnly<bool> rv;
rv = js::RecomputeWrappers(cx, js::SingleCompartment(compartment),
js::AllCompartments());
MOZ_ASSERT(rv);
bool rv = js::RecomputeWrappers(cx, js::SingleCompartment(compartment),
js::AllCompartments());
if (!rv)
NS_WARNING("Failed to recompute wrappers in EnableUniversalXPConnect");
}
}