Fix 354924, r=igor.

This commit is contained in:
brendan%mozilla.org 2006-09-30 19:52:48 +00:00
parent 7e803d9c5e
commit 26aa9c96bd

View File

@ -1730,7 +1730,9 @@ ImportProperty(JSContext *cx, JSObject *obj, jsid id)
ok = OBJ_SET_PROPERTY(cx, target, id, &value);
} else {
ok = OBJ_DEFINE_PROPERTY(cx, target, id, value, NULL, NULL,
attrs & ~JSPROP_EXPORTED,
attrs & ~(JSPROP_EXPORTED |
JSPROP_GETTER |
JSPROP_SETTER),
NULL);
}
if (prop)