mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-09 04:54:33 +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…
Reference in New Issue
Block a user