Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap).
authorDavid Anderson <danderson@mozilla.com>
Sun, 23 May 2010 17:14:56 -0700
changeset 42773 7c12ea2ac7c997274212c380945a9d982f50eed7
parent 42772 2cdc68e84ee4341b56acde6afd3b341be3f353cf
child 42774 89ea87096d8f35679416df735d4c592c6e315219
push idunknown
push userunknown
push dateunknown
reviewersmrbkap
bugs561923
milestone1.9.3a5pre
Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap).
js/jsd/jsd_high.c
--- a/js/jsd/jsd_high.c
+++ b/js/jsd/jsd_high.c
@@ -65,17 +65,17 @@ void JSD_ASSERT_VALID_CONTEXT(JSDContext
     JS_ASSERT(jsdc->inited);
     JS_ASSERT(jsdc->jsrt);
     JS_ASSERT(jsdc->dumbContext);
     JS_ASSERT(jsdc->glob);
 }
 #endif
 
 static JSClass global_class = {
-    "JSDGlobal", 0,
+    "JSDGlobal", JSCLASS_GLOBAL_FLAGS,
     JS_PropertyStub,  JS_PropertyStub,  JS_PropertyStub,  JS_PropertyStub,
     JS_EnumerateStub, JS_ResolveStub,   JS_ConvertStub,   JS_FinalizeStub,
     JSCLASS_NO_OPTIONAL_MEMBERS
 };
 
 static JSBool
 _validateUserCallbacks(JSD_UserCallbacks* callbacks)
 {