From c7884e7685c4aed94df4acda7d70507cea3aee51 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Wed, 9 Apr 2008 19:41:39 +0000 Subject: [PATCH] Make __count__ shared as well as permanent (426711, r=mrbkap, a=beltzner). --- js/src/jsobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/jsobj.c b/js/src/jsobj.c index a710d4c7fa6..6a18934e170 100644 --- a/js/src/jsobj.c +++ b/js/src/jsobj.c @@ -137,7 +137,8 @@ static JSPropertySpec object_props[] = { obj_getSlot, obj_setSlot}, {js_parent_str,JSSLOT_PARENT,JSPROP_READONLY|JSPROP_PERMANENT|JSPROP_SHARED, obj_getSlot, obj_setSlot}, - {js_count_str, 0, JSPROP_PERMANENT,obj_getCount, obj_getCount}, + {js_count_str, 0, JSPROP_PERMANENT|JSPROP_SHARED, + obj_getCount, obj_getCount}, {0,0,0,0,0} };