mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
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:
parent
10a557c105
commit
be3cae8379
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user