Make split global objects have the right flags. bug 449656, r=crowder NPOTB

This commit is contained in:
Blake Kaplan 2008-08-11 11:55:43 -07:00
parent e8fa485944
commit 2ffbc6aee8

View File

@ -2289,7 +2289,7 @@ split_innerObject(JSContext *cx, JSObject *obj)
static JSExtendedClass split_global_class = {
{"split_global",
JSCLASS_NEW_RESOLVE | JSCLASS_NEW_ENUMERATE | JSCLASS_HAS_PRIVATE |
JSCLASS_IS_EXTENDED,
JSCLASS_GLOBAL_FLAGS | JSCLASS_IS_EXTENDED,
split_addProperty, split_delProperty,
split_getProperty, split_setProperty,
(JSEnumerateOp)split_enumerate,