mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-27 14:31:47 +00:00
closes #479: suppress bogus assert
This commit is contained in:
parent
bd99fc9bfa
commit
d06d5bc5f0
@ -1551,9 +1551,11 @@ JSObject::fixDictionaryShapeAfterSwap()
|
||||
bool
|
||||
JSObject::swap(JSContext* cx, HandleObject a, HandleObject b)
|
||||
{
|
||||
#if(0) // See TenFourFox issue 479 for why we can get away with this.
|
||||
// Ensure swap doesn't cause a finalizer to not be run.
|
||||
MOZ_ASSERT(IsBackgroundFinalized(a->asTenured().getAllocKind()) ==
|
||||
IsBackgroundFinalized(b->asTenured().getAllocKind()));
|
||||
#endif
|
||||
MOZ_ASSERT(a->compartment() == b->compartment());
|
||||
|
||||
AutoEnterOOMUnsafeRegion oomUnsafe;
|
||||
|
Loading…
x
Reference in New Issue
Block a user