Bug 981218 - Remove default compartment objects. r=luke
\o/
This commit is contained in:
@@ -96,7 +96,6 @@ static JSObject *
|
||||
CreateObjectPrototype(JSContext *cx, JSProtoKey key)
|
||||
{
|
||||
Rooted<GlobalObject*> self(cx, cx->global());
|
||||
cx->setDefaultCompartmentObjectIfUnset(self);
|
||||
|
||||
JS_ASSERT(!cx->runtime()->isAtomsCompartment(cx->compartment()));
|
||||
JS_ASSERT(self->isNative());
|
||||
|
||||
Reference in New Issue
Block a user