Bug 645416, part 4 - Rename DefinePropertiesAndBrand -> DefinePropertiesAndFunctions. r=bhackett.
This commit is contained in:
@@ -2685,8 +2685,8 @@ DefineConstructorAndPrototype(JSContext *cx, HandleObject obj, JSProtoKey key, H
|
||||
goto bad;
|
||||
}
|
||||
|
||||
if (!DefinePropertiesAndBrand(cx, proto, ps, fs) ||
|
||||
(ctor != proto && !DefinePropertiesAndBrand(cx, ctor, static_ps, static_fs)))
|
||||
if (!DefinePropertiesAndFunctions(cx, proto, ps, fs) ||
|
||||
(ctor != proto && !DefinePropertiesAndFunctions(cx, ctor, static_ps, static_fs)))
|
||||
{
|
||||
goto bad;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user