Bug 749693 - JS shell global doesn't need JSCLASS_HAS_PRIVATE or its_finalizer. r=jandem.

--HG--
extra : rebase_source : cd46a6909564fb1f3a4e557df17cae3deed2e458
This commit is contained in:
Jason Orendorff 2012-04-27 14:42:55 -04:00
parent 951d13d85f
commit fc29ed78d2

View File

@ -4316,11 +4316,11 @@ global_resolve(JSContext *cx, JSObject *obj_, jsid id, unsigned flags,
}
JSClass global_class = {
"global", JSCLASS_NEW_RESOLVE | JSCLASS_GLOBAL_FLAGS | JSCLASS_HAS_PRIVATE,
"global", JSCLASS_NEW_RESOLVE | JSCLASS_GLOBAL_FLAGS,
JS_PropertyStub, JS_PropertyStub,
JS_PropertyStub, JS_StrictPropertyStub,
global_enumerate, (JSResolveOp) global_resolve,
JS_ConvertStub, its_finalize
JS_ConvertStub, NULL
};
static JSBool