Bug 907147 - Assertion failure: type->proto->hasNewType(&JSObject::class_, type), at jsobj.cpp:1423 r=terrence