Bug 412324 - "Main content panel is not rendered for all WebCT/Blackboard installations" [p=crowder@fiverocks.com (Brian Crowder) r+a1.9=brendan a=blocking1.9+]
authorreed@reedloden.com
Sun, 10 Feb 2008 00:49:19 -0800
changeset 11511 0bd88d8cfabf3dbd9e837cfcf61933f2ce87f1ab
parent 11510 59ef9228c6e304b4b2b3e97444da10d624c34952
child 11512 96c20e2ddd6448a8e54ef13ca45408914b5ca215
push idunknown
push userunknown
push dateunknown
reviewersblocking1.9
bugs412324
milestone1.9b4pre
Bug 412324 - "Main content panel is not rendered for all WebCT/Blackboard installations" [p=crowder@fiverocks.com (Brian Crowder) r+a1.9=brendan a=blocking1.9+]
js/src/jsexn.c
--- a/js/src/jsexn.c
+++ b/js/src/jsexn.c
@@ -1047,18 +1047,17 @@ js_InitExceptionClasses(JSContext *cx, J
         if (!protos[i])
             break;
 
         /* So exn_finalize knows whether to destroy private data. */
         STOBJ_SET_SLOT(protos[i], JSSLOT_PRIVATE, JSVAL_VOID);
 
         /* Make a constructor function for the current name. */
         atom = cx->runtime->atomState.classAtoms[exceptions[i].key];
-        fun = js_DefineFunction(cx, obj, atom, exceptions[i].native, 3,
-                                JSPROP_READONLY | JSPROP_PERMANENT);
+        fun = js_DefineFunction(cx, obj, atom, exceptions[i].native, 3, 0);
         if (!fun)
             break;
 
         /* Make this constructor make objects of class Exception. */
         fun->u.n.clasp = &js_ErrorClass;
 
         /* Extract the constructor object. */
         funobj = fun->object;